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?
Type: Posts; User: ehsansh
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?
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?