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 does .equals do in java?
What are drawbacks of singleton class?
What is the right data type to represent a price in java?
Can we serialize arraylist in java?
Is java platform independent?
What does mean in regex?
Can final class have constructor?
What are the string methods in java?
How will you invoke any external process in java?
What is remote method invocation (rmi)?
Why destructor is not used in java?
What is the difference between a choice and a list?
Is map sorted in java?
What does singleton class mean?
When is the garbage collection used in Java?