Is it possible for
isFile() both to
Yes—if the pathName of the
does not name an existing file or an existing directory,
then both methods return false.
However, if the thing named by pathName does exist,
then one method or the other returns true (but not both).
You have reached the end this chapter. You may wish to test the existence of the following topics. Click on a subject that interests you to go to where it was discussed.
Fileobject in Stream constructors.