COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Type Checking
|
|
Loader
|
|
Exception Handling
|
|
Aliasing
|
Detailed explanation-1: -Exceptions, are situations where the processor needs to stop executing the current code because of an error. In these cases, the processor typically begins running an exception handling routine to resolve the error, and then returns to the normal program flow.
Detailed explanation-2: -Unchecked exception. The unchecked exceptions are those exceptions that occur during the execution of the program. Hence they are also referred to as Runtime exceptions.
Detailed explanation-3: -Unchecked exceptions. Also called runtime exceptions, these exceptions occur during program execution. These exceptions are not checked at compile time, so the programmer is responsible for handling these exceptions. Unchecked exceptions do not give compilation errors.
Detailed explanation-4: -Definition: An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions during the execution of a program. When an error occurs within a method, the method creates an object and hands it off to the runtime system.