MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? public class Bits { public static void main(String[] args) { try { return; } finally { System.out.println( "Finally" ); } } } |
| A. | Finally |
| B. | Compilation fails |
| C. | The code runs with no output |
| D. | An exception is thrown at runtime |
| Answer» B. Compilation fails | |