Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Big Java Late Objects
Quiz 7: Inputoutput and Exception Handling
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 81
Multiple Choice
Consider the following code snippet: Try { PrintWriter outputFile = new PrintWriter(filename) ; WriteData(outputFile) ; } Finally { OutputFile.close() ; } Catch (IOException exception) { ) . . } Which of the following statements about this code is correct?
Question 82
Multiple Choice
Consider the following code snippet: Try { File inputFile = new File(filename) ; Scanner in = new Scanner(inputFile) ; ) . . } Catch (Exception e) { } Which of the following statements about this code is correct?