Difference on throw and throws keyword Java
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 11782
Total Votes: 90 votes
Category: JAVA/Core JAVA
Submitted on: 2012-02-25 17:00:27
Submitted By: Javin Paul
Description:If you have used Exception in Java programming language then you must be familiar with throw and throws keyword. difference between throw and throws is a popular java interview question and main difference is throws is used to declare Exceptions thrown by method while throw is used to actually throw Exceptions. More detail...