Answer Posted / mukesh kumar
Exceptions are abnormal condition that occur at run time and
it can be handle through try catch block.
Errors are those abnormal condition that occur at compile
time and can not be handle. Error terminates the program
whereas exception does not terminate program directly, it
provide chance to handle that abnormal condition.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What technique can be employed to compare two strings?
Which object oriented concept is achieved by using overloading and overriding?
What are the restriction imposed on a static method or a static block of code?
What do you mean by platform independence of Java?
Is string an object?
Define "Access specifiers" in java.
What is return used for in java?
Why are parameters used in functions?
Is a method a function?
What are exceptions
What do you understand by copy constructor in java?
How do you define a singleton class?
Why is singleton class used?
What is a void method?
How to solve the problem of generating the unique hash keys with hash function?