can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answer Posted / ajay dhingra
Yes we can handle exception or error using throwable in
catch because Throwable is super class of all error and
exception.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is module with example?
Give an example of use of pointers in java class.
What is hashtable and explain features of hashtable?
How do I start learning java?
What are the library functions in java?
What is integer size in java?
Is Java a dying language?
Can anonymous class have constructor?
Can we extend singleton class in java?
How do you use compareto method?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What are local variables?
Give me an example of array and linked list? Where they can be used?
Does A Class Inherit The Constructors Of Its Superclass?
Why vector is used in java?