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 |
How do you execute a thread in java?
which methods consisting of the serilizable interface?
How to add panel to a Frame?
where to use join method and explain with real time senario?and programatical explenation also..
What is protected and friendly?
Is java a utf 8 string?
What is static block?
What is a variable analysis?
Difference between overloading and overridding?
how to handle exceptions in ejb?
explain the concept of inheritance with an example?
Describe the process as to how substring() methodology mechanisms in java.