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?

Answers were Sorted based on User's Feedback



What is the purpose of the File class?..

Answer / 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

What is the purpose of the File class?..

Answer / ravikiran

fileclass is used to read or write data from and to the file

Is This Answer Correct ?    5 Yes 2 No

What is the purpose of the File class?..

Answer / letsapa

can be used to find information about a file, such as
whether it exist or is open, its size, and its, last
modification

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

Write a method that will remove given character from the string?

0 Answers  


What is initial size of arraylist in java?

0 Answers  


What is a for loop in java?

0 Answers  


We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.

2 Answers  


What are java methods?

0 Answers  


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

0 Answers  


Is it possible for yielded thread to get chance for its execution again ?

0 Answers  


How will you reverse a link list without using recursion?

0 Answers   Global Logic,


What is java reflection?

0 Answers  


What does %d do in java?

0 Answers  


Can we change the scope of the overridden method in the subclass?

0 Answers  


What is the static keyword?

0 Answers  


Categories