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
How do you find the independent variable?
Can you change array size in java?
What is the declaration statement?
What is difference between checked and unchecked exception in java?
How do you access command-line arguments within the code?
What is a superclass?
Can we override private constructor in java?
What is method in research paper?
how to write a program for sending mails between client and server
Why do we need array in java?
Explain the init method?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What is gc()?
How do you represent a space in regex java?
What is the difference between actual and formal parameters?