can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answers were Sorted based on User's Feedback
Answer / aseet padhi
yes.We can handle by using Throwable in catch block because
it's super class of Exception.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / 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 |
Answer / papu
Yes we can handle the exception using Throwable in catch
block.There is no compilation error.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / manju kt
No u cant because u cannot compile classes with errors
| Is This Answer Correct ? | 0 Yes | 8 No |
If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great
how to call a method in different package?
What is replacefirst in java?
How can you add and remove nodes in jtree?
Does A Class Inherit The Constructors Of Its Superclass?
What are facelets templates?
Is arraylist ordered in java?
What is the difference between an array and an array list?
where singleton classes are used in j2ee web application.can we use it for connection pooling.
Is java a security risk?
What is the difference between class & object?
what is language and it responsibilities