This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 3287
    
    7
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Master Exam doubt