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

Why is string builder not thread safe?

1012


What does indexof mean?

941


What is constructor and its types?

1054


What is the difference between heap memory and stack memory?

1012


Why is inheritance used in java?

1057


How to use Media tracker Class.

1080


What do you mean by local variable and instance variable?

895


How do you override a method?

955


Give few difference between constructor and method?

907


How do you define a parameter?

982


How many types of classes are there in java?

995


How can constructor chaining be done by using the super keyword?

1036


Why strings in java are called as immutable?

945


What are the important features of Java 10 release?

953


Explain naming conventions for packages?

953