While errors and exceptions are similar in that they both indicate that something unexpected has occurred, there are some differences between the two - while exceptions can be recovered, errors cannot be done so and they just put a sudden stop to everything. In Java, errors and exceptions are both types of throwable objects that can be thrown by the Java Virtual Machine (JVM) or by Java code. If you are a developer you might have come across certain fault lines while executing a program. Codes are the core of any application program.
0 Comments
Leave a Reply. |