Programming Language › Java Exception MCQ › Question #2329
Single Choice Not Set

Q
try{
      File f = new File("a.txt");
}catch(Exception e){
}catch(IOException io){
}
Is this code create new file name a.txt ?

ID: #2329 Java Exception MCQ 861 views
Question Info
#2329Q ID
Not SetDifficulty
Java Exception MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A true ✔ ✖
  • B false ✔ ✖
  • C Compilation Error ✔ ✖
  • D None of these ✔ ✖
Correct Answer

Explanation

Compilation Error
Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.