Which code snippet will check for the existence of the file «text.txt» in the current location?
Correct Answer: File f = new File(); f.setName(«text.txt»); System.out.println(f.exists());
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions