The moose likes Mock Exam Errata and the fly likes Compiler error or Runtime error? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Mock Exam Errata
Reply Bookmark "Compiler error or Runtime error?" Watch "Compiler error or Runtime error?" New topic
Author

Compiler error or Runtime error?

Vineet Sharma
Ranch Hand

Joined: Dec 30, 2000
Posts: 51
A lot of times in the multiple choice questions, we are supposed to make a choice between compiler error or runtime error. How to make a choice?
Sunil K Bansal
Ranch Hand

Joined: Jan 04, 2001
Posts: 62
Originally posted by Vineet Sharma:
A lot of times in the multiple choice questions, we are supposed to make a choice between compiler error or runtime error. How to make a choice?

there is nothing in it
you have to remember which are runtime errors
and which are compile time errors
these u can learn by practice
like ArrayIndexoutofBounds, ClassCastException are runtime errors
and IllegalArgumentException is a Compiler error
Bansal
 
 
subject: Compiler error or Runtime error?
 
Threads others viewed
Getting error in setupConnection()
Chap 3 ,page 237 K&B SCJP5 book -Question on Wrappers from Exam Watch Section
Oracle Connection Error
Ques from John Hunt's Mock Exam
Problem with casting
developer file tools