File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
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: 432


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.
???


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

Joined: Aug 03, 2008
Posts: 9280
    
  17

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...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exam lab practice exam -1, question24 need justification?
 
Similar Threads
Thread
WHy isnt there an Output?
Thread question doubt
threads question in examLab practice test 1
Exam LAb Question on THreads