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 method in java with example?
How to overcome the exception object reference not set to an instance of object?
What is an interoperable application in java ?
Can a class be final?
Is 0 an irrational number?
Explain implementation and how is it different from conversion?
What are the two main uses of volatile in Java?
Can a class be a super class and a sub-class at the same time? Give example.
What data structures are used to perform recursion?
What are white spaces in java?
What is the difference between inheritance and encapsulation?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
What are sets in java?
What is boolean used for?
What is a method in java?