While solving mock exam I sometimes get confused with the runtime errors and compile time errors.It difficult to choose either one from all options given.Can anyone tell how to explicitly differentiate between these two while solving the questions. Also are there any tips and tricks with question solving which can help?
Checked exception are those which the Java compiler forces you to catch. e.g. IOException are checked Exceptions
Runtime exceptions are those exceptions that are thrown at runtime because of either wrong input data or because of wrong business logic etc. If you invoke start() on dead thread instance, you will get runtime (not compiler) exception. These are not checked by the compiler at compile time. [ July 19, 2007: Message edited by: Aaron Raja ]
SCWCD 5, SCJP 1.4, OCA (PL/SQL)
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop