1.

What is the output of this program? 1. class San 2. { 3. San()throws IOException 4. { 5. } 6. } 7. class Foundry extends San 8. { 9. Foundry() 10. { 11. } 12. public static void main(String[]args) 13. { 14. } 15. }

A. compile time error
B. run time error
C. compile and runs fine
D. unreported exception java.io.IOException in default constructor
Answer» B. run time error


Discussion

No Comment Found