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

What's the access scope of protected access specifier?

1098


Is arraylist ordered in java?

1171


Can a constructor call another constructor?

1040


Can you use abstract and final both with a method?

1161


What is the difference between post and put?

1134


What is array length in java?

1016


Difference between final and effectively final ? Why is effectively final even required ?

1051


what is mena by object block any what is the use of that

2263


Is stringwriter thread safe?

1050


Can we initialize the final blank variable?

1129


What is the difference between static and non-static variables in java programming?

1037


What is finalize() function in java?

1067


How many bytes are there?

1054


What is float in java?

1039


Can a class extend more than one class?

1166