+ 10

Qus:-What is mean by Exception?

19th May 2019, 9:50 AM
Deepika Mourya
Deepika Mourya - avatar
2 Antworten
+ 11
A fancy word for a run time error.
20th May 2019, 3:14 AM
Sonic
Sonic - avatar
+ 7
An exception is a problem that arises during the execution of a program and it interrupts the normal flow of the program. These exceptions can be handled using Exception Handling mechanism. Exception handling is a task to maintain normal flow of program. For this we should try to catch the exception object thrown by the error condition and then display appropriate message for taking corrective actions. In Java, exceptions can be handled using 5 keywords: 1. try 2. catch 3. finally 4. throw 5. throws
19th May 2019, 10:32 AM
Vaishnavi Rajkumar Pawar