My Java Quiz

The ultimate place to learn Java!

Question #38: Will this code compile and run successfully?

try{
    File file = new File("book.txt");
}
 catch(Exception e){
    e.printStackTrace();
 }
catch(IOException e){
    e.printStackTrace();
 }