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
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What are the special characters?
Describe 2 different ways to concatenate two strings.
What language is pass by reference?
Will the jvm load the package twice at runtime?
Explain the difference between arraylist and linkedlist in java?
Can I learn java in 3 months?
What are class members by default?
How do you include a string in java?
Can memory leak happen java?
What is break and continue statement?
What is void in java?
Differentiate between array list and vector in java.
What is the difference between class forname and new?
When should you use arraylist and when should you use linkedlist?