Here are 10 essential multiple-choice questions on Java File Handling, covering key concepts.
Question 5
What is the output of this code?
File f = new File("demo.txt");
System.out.println(f.isDirectory());
Assume demo.txt is a file, not a folder.
There are 10 questions to complete.
Quiz about Java File Handling