what is difference between throw and throws in exception?
Answer Posted / velayutham
throw- means user defined exception. we want throw manually
throw the exception.
throws- means jvm going to take all exception.
| Is This Answer Correct ? | 33 Yes | 10 No |
Post New Answer View All Answers
Explain about serializable interface in java?
What is Applet Stub Interface ?
Explain the term virtual machine?
What is the point of java?
What do you mean by multithreaded program?
What is the importance of finally block in exception handling?
Explain oops concepts in detail?
What is final int?
What is map in java?
Where are the card layouts used?
What are the advantages of java inner classes?
Which is better singleton or static class?
What is methodological theory?
In which language java is written?
Can a class have a static inner class?