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 |
What is return in java?
What is the difference between stream and buffer?
Explain some best practices you would apply while using collection in java?
What is public static?
What is map and hashmap in java?
What is the difference between preparedstatement and statement in java?
how to handle exceptions in ejb?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Explain java coding standards for variables ?
My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in IE then, how it get Login.JSP Page exactly? what are the processes will happen from when we submit the URL to get Login.jsp?
What are constructors in java?
What is mnemonic code?