What does the following program print? If it does not compile, choose the answer that says so.
What does the following program print? If it does not compile, choose the answer that says so.
The gap in the header of method open is to be filled with a throws clause. Which clause lists exactly the exceptions that open must declare? With that clause the program compiles; with any one of its exceptions removed, the program does not compile.