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
What is the difference between stored procedure & function?
Does java support multiple inheritances?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
Can singleton class be inherited in java?
Explain method local inner classes ?
What is string array?
What is array sorting in java?
How do you define a singleton class?
How many bytes is a string?
How does queue work in java?
If a method is declared as protected, where may the method be accessed?
How do you replace a string in java?
Explain what is Marker interface?
Is .net better than java?
What are the different access modifiers available in java?