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
Does java runtime require a license?
What do you mean by local variable and instance variable?
What is the final variable?
Which collection is thread safe in java?
Why wait and notify methods are declared in object class?
What is the synchronized method modifier?
Why chararray() is preferred over string to store the password?
What is variable and constant explain with example?
Explain about exception propagation?
What is the use of predicate in java 8?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is the difference between array list and vector in java?
Explain the difference between call by refrence and call by value?
What is covariant return type?
Can inner class be public in java?