What classes of exceptions, thrown by a throw statement?
Answers were Sorted based on User's Feedback
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 |
why the equals method can be override?when we override the equals method?
What will happen if static modifier is removed from the signature of the main method?
What does those terms actually mean included in the j.d.k i.6?
What is meant by 'Class access modifiers'?
What are keywords in java?
What is integer parseint?
What primitive Java types? Howmany are they and what are their names?
Explain the difference between an object-oriented programming language and object-based programming language?
When is finally block not called?
I want to print “hello” even before main is executed. How will you acheive that?
how to make the double-tone class ? as we have singletone class..?
is this possible to create an array of 0 length? if so how? if not so why? coz we have an array in main() likw this "static void main(String [] s) then what it signifies?