Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What classes of exceptions, thrown by a throw statement?

Answers were Sorted based on User's Feedback



What classes of exceptions, thrown by a throw statement?..

Answer / ravikiran

checked exceptions

Is This Answer Correct ?    2 Yes 0 No

What classes of exceptions, thrown by a throw statement?..

Answer / niranjanravi

Syntax for throw is:
throw throwableinstance;
Here the throwableinstance must be an object of type
Throwable or sub-class of Throwable.Simple types such as
int or char as well as non-Throwable types such as String
or object can't be assigned to throw.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we force the garbage collection to run?

0 Answers  


Is a method a function?

0 Answers  


What is a layout manager?

1 Answers  


How can a gui component handle its own events?

0 Answers  


What is the difference between reader/writer and inputstream/output stream?

0 Answers  






How do you get the length of a string in java?

0 Answers  


What one should take care of, while serializing the object?

0 Answers  


Explain the importance of join() method in thread class?

0 Answers  


In Java list the methods that can be overridden?

0 Answers   Accenture,


Can we modify the throws clause of the superclass method while overriding it in the subclass?

0 Answers  


How do you override a method in java?

0 Answers  


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

0 Answers  






Categories