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 a constructor be made final?
Is .net better than java?
Can we define a package statement after the import statement in java?
What does index mean in java?
Can substring create new object?
What is boolean law?
Can we catch more than one exception in single catch block?
What is the size of an array?
explain the difference between jdk and jvm?
What are the benefits of operations?
How do you initialize an arraylist in java?
What is the basic concepts of OOPS?
What is stringreader?
Is int a class in java?
What is the use of join method?