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
How many ways can we create the string object?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is the use of callablestatement?
What is the default value of an object reference declared as an instance variable?
Can we call the run() method instead of start()?
What is meant by memory leak?
Why null value is used in string?
Why we use protected in java?
What is the difference between a method and a function in alice?
What are the object and class classes used for?
Is array a class in java?
What an i/o filter in java programming?
What happens if constructor is private?
Which class is the superclass for every class in java programming?
Is string a wrapper class?