What is an exception?
Answers were Sorted based on User's Feedback
Answer / vikneswarank
when we write code and try to execute the that code error
may be occur in runtime or complie time complie time error
nothing but syntex error we can easily set right by
reediting suitable code runtime error is exception. we can
handle the exception use Exception class which is belongs
to java.lang. package using this class handle the exception
(try catch) block
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / swapna
Exception is a runtime error. It is a abnormal condition
that arises at runtime in a code sequence
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vikas
Exception is a class available in java.lang package and has
many subclasses.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
exception is the abnormal condition which will occur at run time
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rahul kakadiya
EXECEPTION IS A ONE TYPE OF RUN TIME ERROR ,WHICH CAN BE
HANDLE BY EXCEPTION HANDLAR.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sumit pal singh
Exception is an event that occur at run time. Exception is a problem that we can solve by providing a programmatic solution.
Is This Answer Correct ? | 0 Yes | 0 No |
Define array. Tell me about 2-D array.
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
What is the purpose of format function?
Difference between abstract class and Interfaces?
7 Answers CTS, iFlex, PA Consulting, Sai Softech, Value Chain,
What is the difference between throw and throws?
Which sorting is used in arrays sort in java?
What is the difference between multiple processes and multiple threads?
If an object is garbage collected, can it become reachable again?
Does list allow duplicates in java?
How do you add an element to a set in java?
Is java call by value?