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.
true
false
null
Compilation Error
This question is part of this quiz :