what is the difference between through and throws?
Answers were Sorted based on User's Feedback
Answer / mahesh
there is no such keyword in java(through).it is used in our regular language ...throws means it throws exception..it should written the method header part only...
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / 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 |
httt method
what is hibernate ceteria ?
what is diff string and stringbuffer
What are the uses of the set interfaces in the java collections? : java collections
What are the main classes of the list interfaces? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What are the interfaces in java collections? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
What is the Spring2.5 MVC Navigation flow?
What are the different types of classes implemented in the set interfaces? : java collections
What is Visual Source Safe(source control Tool)?
wnet use DAO design in u r project?