This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Checked Expceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Checked Expceptions" Watch "Checked Expceptions" New topic

Checked Expceptions

Tayitu Betule
Ranch Hand

Joined: Dec 18, 2009
Posts: 39
Which of the following are checked exceptions? (Choose three)

A. IllegalThreadStateException
B. IllegalMonitorStateException
C. ParseException
D. NumberFormatException
E. IOException
F. RuntimeException
G. ClassNotFoundException
Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

Tayitu please QuoteYourSources when you post a mock exam question...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
A question you could easily answer yourself.

Click on the links javaranch added to your exception names and you will see which of them extend RuntimeException and which do not.

JDBCSupport - An easy to use, light-weight JDBC framework -
Prithvi Sehgal
Ranch Hand

Joined: Oct 13, 2009
Posts: 774
Please quote the source when you post some question.

Better way is to consult java official documentation to get the answer of which are the checked exceptions out of the three.

Anyhow, C,E,G are checked exceptions.

Hope this helps,

My Blog, Follow me on Twitter,Scjp Tips, When you score low in mocks, Generics,Scjp Notes, JavaStudyGroup
I agree. Here's the link:
subject: Checked Expceptions
Similar Threads
checkbox in jsp
NullPointerException, but no root cause
Exception type and thrown