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 Master Exam doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Master Exam doubt" Watch "Master Exam doubt" New topic
Author

Master Exam doubt

Maciej Zpolski
Greenhorn

Joined: Nov 02, 2006
Posts: 10
There is a question about threads, code compiles, output is simple. But the question is:

Witch results are NOT possible? (choose all that apply)
One of the correct answer is:
An error ocurs at runtime.

What about JVM errors? They can occurs(i.e. OutOfMemory Error), so i think, that this one isn't correct. How do I know, what answers author wants?


Sorry for my english..
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3205
    
    2
In general, you should only think about the normal scenerio. Such questions usually consider runtime exceptions that occur due to bad programming such as ClassCastException, NullPointerException, IllegalMonitorStateException (when you try to call wait() or notify() without holding the lock), ArrayIndexOutOfBoundsException.
Most of these are already mentioned in the exam objectives.

HTH,
Paul.


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Maciej Zpolski
Greenhorn

Joined: Nov 02, 2006
Posts: 10
Thanks for answer.
Sometimes i'm think to much
 
jQuery in Action, 2nd edition
 
subject: Master Exam doubt
 
Similar Threads
question from JQuest
SCWCD question
Question evaluation in mock exam..
Passed OCPJP with 95%
Keep getting this error and not sure why