What classes of exceptions may be thrown by a throw statement?



What classes of exceptions may be thrown by a throw statement?..

Answer / Ankit Multani

"Any exception class, including checked exceptions (e.g., IOException), unchecked exceptions (e.g., RuntimeException), and error classes (e.g., ExceptionInInitializerError)"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain jvm, jre, and jdk?

1 Answers  


Is cout buffered?

1 Answers  


If we don’t want some of the fields not to serialize how to do that?

1 Answers  


What sorting algorithm does javascript use?

1 Answers  


What's the access scope of protected access specifier?

1 Answers  


Explain about main thread in java?

1 Answers  


What does localhost mean?

1 Answers  


What is the new line character?

1 Answers  


What is data type in computer?

1 Answers  


What loop means?

1 Answers  


which class is the wait() method defined in? : Java thread

1 Answers  


Which Component subclass is used for drawing and painting?

1 Answers  


Categories