A. Prints out "Done the test" and nothing else. B. Program produces no output but terminates correctly. C. Program does not terminate. D. The program will not compile. E. The program generates a runtime exception. F. The program prints out "The end" and nothing else. G. The program prints out "Done the test" and "The end"
Select the most appropriate answer.
i answered d, but the correct answer is f. in this eg, an instance of test5 is created, but there is no instance of the class created to store the reference? can we create a statement like test5 = new test5();
(tags added and code formatted) [ November 15, 2004: Message edited by: Barry Gaunt ]
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.