What is file class and what is its purpose?

Answer Posted / janet

The File class is used to create objects that provide access
to the files and directories of a local file system.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the algorithm to check the number non-leaf nodes in a tree.

600


What is exception handling in java?

576


How do I type unicode?

540


Why main() method is public, static and void in java ?

600


Explain the selection sort algorithm?

646






how come we know the object is no more used in the class?

5437


What is Mutex (Mutual Exclusion Object) ?

629


What are the types of inner classes (non-static nested class) used in java?

572


What are the differences between string, stringbuffer and stringbuilder?

529


Explain the use of javap tool.

636


Which graphs are functions?

498


Is void a keyword in java?

598


What is strings in java?

591


What is an immutable class? How to create an immutable class?

542


Can an arraylist be empty?

568