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
Differentiate between the constructors and methods in java?
Is void a keyword in java?
What do the thread?class methods run() and start() do?
Are maps ordered java?
What is object english?
Explain creating threads by implementing runnable class?
What is off heap memory?
What is the byte range?
What is anonymous inner class?
Which java collection does not allow null?
What class of exceptions are generated by the java run-time system?
why Java does not support multiple inheritances?
Can extern variables be initialized?
How do you do absolute value in java?
Can we pass a primitive type by reference in java? How