Basic and Advance Java Question:
Download Questions PDF

What is the purpose of the File class in Java Programming?

Answer:

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

Download Java Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between the paint() and repaint() methods in Java Programming? How does multithreading take place on a computer with a single CPU in Java Programming?