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 are File and RandomAccessFile classes?

Answer Posted / ranganathkini

The java.io.File is represents a filepath and provides
methods to access filesystem services in the Java
application. Services such as creating folders, verifying
the existance or permissions of a file, etc.

The java.io.RandomAccessFile is a class that allows random
record based access to data stored in a file. This class
helps in creating and manipulating files in a record based
way unlike a sequential access provided by streams.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between yielding and sleeping in java programming?

1070


How do you override a method in java?

950


How are variables stored in memory?

996


How do you create an array in java?

938


Which eclipse is best for java?

953


What is floor math?

913


How do you compare two objects?

876


What is exception in java?

1008


Is empty in java?

991


Difference between arraylist and hashset in java?

1067


Is static a singleton?

922


What is considered an anti pattern?

874


What is the Concept of Encapsulation in OOPS

935


Is an object null?

907


What are pass by reference and pass by value?

927