can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answer Posted / 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 |
Post New Answer View All Answers
Why do we need singleton class?
What are static blocks in java ?
What is data movement?
Explain about wait() method?
Can we call the run() method instead of start()?
What is math floor in java?
What do you know about java?
What are locale settings?
Does java initialize arrays to zero?
What is the purpose of stub and skeleton?
Can a list be null in java?
What is the difference between logical data independence and physical data independence?
What is the method in java?
What are meta-annotations?
Where is the find and replace?