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

How does linkedhashmap work in java?

1008


What are recursive functions? Give some examples?

1186


Explain restrictions on using enum?

1065


Is string is a data type?

940


Where local and global variables are stored?

1074


What is the purpose of the return statement?

1036


What class allows you to read objects directly from a stream in java programming?

1065


Add a value x to array from index l to r where 0 <= l <= r <= n-1

1089


Explain the difference between abstraction and encapsulation.

969


What is default constructors?

990


What is constructor in java ?

1181


What string is utf8?

991


What happens if constructor is private?

1020


What are autoboxing and unboxing? When does it occur?

945


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

1030