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
Explain thread life cycle in java?
What is the generic function?
What is null in java?
How can you generate random numbers in java?
What is an example of procedure?
What is local variable and instance variable?
What is the different types of functions?
What is a java lambda expression?
How will you compute size of a structure?
Is java 11 paid version?
What methodology can be employed to locate substrings inside a string?
Why do I need to declare the type of a variable in java?
Difference between arraylist and hashset in java?
What are the different access modifiers available in java?
Does unicode support all languages?