ExamQuestions.com

Register
Login
Java SE 8 Programmer II Exam Questions

Oracle

Java SE 8 Programmer II

102 / 130

Question 102:

Given the code fragment: 
image
What is the result? 

Answer options:

A. A compilation error occurs at line n1.
B. A compilation error occurs at line n2.
C. The code reads the password without echoing characters on the console.
D. A compilation error occurs because the IOException isn`t declared to be thrown or caught?