JAVA EXAMPLE PROGRAMS
Exception Vs Error
An error is an irrecoverable condition occurring at runtime like out of memory error. These kind of jvm errors cannot be handled at runtime. Exceptions are because of condition failures, which can be handled easily at runtime.
Success consists of going from failure to failure without loss of enthusiasm.
-- Winston Churchill
Few Random Java Examples
|Reference: Java™ Platform Standard Ed. 7 - API Specification | Java is registered trademark of Oracle.|