Search:

Type: Posts; User: ehsansh

Search: Search took 0.09 seconds.

  1. Re: Is it possible to inherit only specific methods of a class?

    Because of code encapsulation.
    I want that when my user typed "myFile." onley sees ,y classes and inherited methods I want, Not all the methods of java.file class.
    what to do?
  2. Is it possible to inherit only specific methods of a class?

    Hi there.
    I want to create my own File class to work easier with files.
    Is it possible to inherit for example only file.exists from java file class not every methods?
Results 1 to 2 of 2