Answer Posted / ranganathkini
The java.io.File class abstracts a filename and directory
pathnames. It provides useful methods to perform some basic
filesystem operations such as, verifying the existance of a
file, getting the absolute or relative path of a file,
verifying if a path refers to a directory or file, verifying
the permissions on a File, checking the file length,
create/remove folders, etc.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Can we overload destructor in java?
What is function and method in java?
How much is a java license?
Can a class be private or protected in java?
Why do we use regex?
What is the console in java?
Give few examples of final classes defined in Java API?
What is meant by polymorphism?
How do you change an int to a string?
How a variable is stored in memory?
Can we restart a dead thread in java?
What are the two basic ways in which classes that can be run as threads may be defined?
Can we use switch statement with strings?
What is the java idl system?
How destructors are defined in java?