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 / y s rajasekhara reddy

File
1. Java.io.file
2. Implements Comparable and Serializalble interfaces
3. The File class is used to perform the operations on files
and directories of the file system of an operating system.
4. The contents of the files cannot be read or write.

RandomAccessFile
1. Java.io.RandomAccessFile
2. Implements DataInputStream and DataOutputStream interfaces
3. The RandomAccessFile class has methods that perform the
direct access to data of any part of the file.
4. It provides the facilities to write primitive data to the
files.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is String immutable?

1021


What is callable java?

931


Why inputstreamreader is used in java?

965


How to change value in arraylist java?

1113


What is a singleton puppy?

936


What is a generic data type?

975


What is the biggest integer?

1010


What do you mean by Function Overloading in java?

1139


What do you mean by platform independence?

998


I want to persist data of objects for later use. What’s the best approach to do so?

884


What are the 7 types of characters?

1034


Which keyword specify that a variable is effectively final ?

946


What are different data types?

973


How to connect to a remote database using Applet?

2495


What is an object’s lock and which object’s have locks?

904