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
Can we create more than one object singleton class?
What is the main use of generics in java?
Explain restrictions for using anonymous inner classes?
Can we create an object of static class in java?
How do you use equal in java?
What do negative exponents mean?
Why is multiple inheritance not supported in java?
What are the advantages of assembly language?
How an object is serialized in java?
How do you create a method in java?
How to create an interface?
How to declare an arraylist in java?
What is the final class?
What is identifier with example?
What is the function of static in java?