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

Is void a type?

980


Explain about narrowing conversion in java?

1008


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

1010


How to optimize the javac output?

1023


Why is whitespace important?

1081


When the constructor of a class is invoked?

1034


What do you understand by the term string pool?

1011


What do you mean by synchronized non access modifier?

997


Is static a keyword in java?

984


What is a generic data type?

1042


What is the difference between throw and throws in java?

1101


What is difference between char array and string?

1115


How do you remove all elements from an arraylist in java?

1028


What do you understand by a Static Variable?

1214


What is the best definition for data?

971