can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answer Posted / ajay dhingra
Yes we can handle exception or error using throwable in
catch because Throwable is super class of all error and
exception.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Explain reverse a linked list iterative solution in java?
Which number is denoted by leading 0x or 0x in java?
Explain about map interface in java?
What is the difference between stream and buffer?
How do you sort a set in java?
What is the difference between Java1.4 and Java1.5
What are some examples of variable costs?
Difference between static binding and dynamic binding?
Write a program to check for a prime number in java?
What is yield () in java?
Why we override equals() method?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What are static variables and functions?
What is the difference between sop and work instruction?
What will happen if a thrown exception is not handled?