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 the main method declared static?

1129


What is byte data type?

994


Difference between start() and run() method of thread class?

1070


What are functions in java?

941


What is command line argument in java?

1147


What is the map interface in java programming?

1015


What is the main purpose of serialization in java?

1028


What about member inner classes?

1092


Explain the available thread states in a high-level?

959


Can we override constructor in java?

1089


How java enabled high performance?

1047


What is the difference between serializable and externalizable interfaces?

1096


What is unmodifiable collection in java?

922


What are the four versions of java?

1013


What is anti pattern in cyber security?

1017