Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the purpose of the File class?

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


Please Help Members By Posting Answers For Below Questions

Can we overload destructor in java?

1004


What is function and method in java?

958


How much is a java license?

936


Can a class be private or protected in java?

1071


Why do we use regex?

1038


What is the console in java?

1165


Give few examples of final classes defined in Java API?

1209


What is meant by polymorphism?

1032


How do you change an int to a string?

1020


How a variable is stored in memory?

998


Can we restart a dead thread in java?

1000


What are the two basic ways in which classes that can be run as threads may be defined?

1081


Can we use switch statement with strings?

1050


What is the java idl system?

1055


How destructors are defined in java?

1197