aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes exam lab practice exam -1, question24 need justification? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "exam lab practice exam -1, question24 need justification?" Watch "exam lab practice exam -1, question24 need justification?" New topic
Author

exam lab practice exam -1, question24 need justification?

Arjun Srivastava
Ranch Hand

Joined: Jun 23, 2010
Posts: 431


answer is it prints nothing and program never terminates, yes that is true,it shows.
in this question 24 of practice exam 1
as sleep method throws interrupted exception it must have to be used inside a try and catch clause.
but here it is nothing like that line 43.
???

This message was edited 1 time. Last update was at by Bear Bibeault



SCJP 6 | FB : Java Certifications-Help. | India Against Corruption
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9023

Since the main method throws Exception, so the code in it can throw any checked exceptions that are sub-classes of java.lang.Exception class...


Javaranch SCJP FAQ | SCWCD Links
 
 
subject: exam lab practice exam -1, question24 need justification?
 
developer file tools