what is the difference between through and throws?
Answer Posted / sharad
I think it's not through but throw. So the question is what is the difference between throw and throws?
Ans. Throw is used to through an exception and throws is used to declare in the method beginning that this method can throw an unchecked exception and which it does not handle.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is the use of the list interface in the java collection? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What are maps interfaces in the java collections? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What are the differences between the java collection and the java list? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What are the types of java collections? : java collections
Which interface does java.util.hashtable implement?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are the different types of classes implemented in the set interfaces? : java collections
What is iterator in the java collections framework? : java collections
What is the Spring2.5 MVC Navigation flow?
my interviewer asked me what technical specification you used how to answer that question