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
What is java util?
What are different type of exceptions in java?
Can we define private and protected modifiers for variables in interfaces?
What are the features in java?
Should a main method be compulsorily declared in all java classes?
What is connection class in java?
What is static keyword in java?
Can private class be extended java?
What is an image buffer?
Why hashcode is used in java?
Which is better ascii or unicode?
What is a default constraint?
What is unicode datatype?
Write a function to print Fibonacci series and Tribonacci series?
What are loops in java? What are three types of loops?