can u handle an error if u write Thowable in the catch
class lise

try
{
some errorneous code
}catch(Throwable e){ ...}

Answer Posted / manju kt

No u cant because u cannot compile classes with errors

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between replace and replace all?

694


Name container classes in java programming?

797


Explain when classnotfoundexception will be raised ?

792


What is the byte order of byte buffer?

774


Can an integer be null java?

752


How to compare two strings in java program?

832


What is an interface in java? Explain

804


What is the reflection?

765


What is stream api in java8?

758


Mention some features of java?

730


I don’t want my class to be inherited by any other class. What should I do?

788


Explain constructors and types of constructors in java.

828


What is the difference between notify and notifyall method?

814


How will you call an Applet using Java Script Function?

740


What is listnode in java?

731