can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...}
Answer Posted / papu
Yes we can handle the exception using Throwable in catch
block.There is no compilation error.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the difference between a method and a function in alice?
Can we inherit inner class?
What is method reference in java?
How do you know if a value is nan?
What are the important features of Java 9 release?
How do you define a set in java?
What are the types of literals?
How do you remove an object from an arraylist in java?
What is an example of character?
What is javac_g?
Why we use multi threading instead of multiprocessing?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
How concurrent hashmap works?
What is a bufferedreader?
What is an i/o filter?