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
What is the difference between yielding and sleeping in java programming?
How do you override a method in java?
How are variables stored in memory?
How do you create an array in java?
Which eclipse is best for java?
What is floor math?
How do you compare two objects?
What is exception in java?
Is empty in java?
Difference between arraylist and hashset in java?
Is static a singleton?
What is considered an anti pattern?
What is the Concept of Encapsulation in OOPS
Is an object null?
What are pass by reference and pass by value?