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
Can we override a variable in java?
What are annotations in java?
Which is bigger float or double java?
How do you classify Dialog Box?
Why synchronization is important in java?
What are the advantages of exception handling?
What does || || mean in math?
Can you override private or static method in java?
What are recursive functions?
Can we override the static methods?
How to make a non daemon thread as daemon?
What do you meant by active and passive objects?
How do you get the length of a string in java?
What is meant by singleton class?
Describe string intern() methodology