Meaningless Drivel is fun!
The moose likes Certification Results and the fly likes Thread Problem from K&B practice exam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Thread Problem from K&B practice exam" Watch "Thread Problem from K&B practice exam" New topic
Author

Thread Problem from K&B practice exam

Aashu Mahajan
Ranch Hand

Joined: May 27, 2011
Posts: 114

Source : OCP java SE programmer Practice Exam.(Q.31)

Which are true? (Choose all that apply.)
A. Compilation fails.
B. After throwing error(s), t3 will most likely complete before t4.
C. After throwing error(s), t4 will most likely complete before t3.
D. The code will throw one error and then no more output will be produced.
E. The code will throw two errors and then no more output will be produced.
F. After throwing error(s) it’s difficult to determine whether t3 or t4 will complete first.

Correct Answere : C
I could not understand why option 'E' is not correct because the code will throw two Errors. one error will thrown by "t1" and another error will thrown by "t2".
Please let me know where i am wrong??
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Thread Problem from K&B practice exam
 
It's not a secret anymore!