can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answer Posted / 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 |
Post New Answer View All Answers
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What are thread local variables?
What are void methods?
What are the differences between heap and stack memory?
What is a Transient Object?
Is math class static in java?
What is methodological framework?
Why is core java important?
What is map and hashmap in java?
What will happen if a thrown exception is not handled?
How to split arraylist elements in java?
Describe different states of a thread.
When is the garbage collection used in Java?
what is collatration?
Explain java coding standards for variables ?