Difference on throw and throws keyword Java

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Difference on throw and throws keyword Java

If you have used Exception in Java programming language then you must be familiar with throw and throws keyword. difference between throw and throws i
http://javarevisited.blogspot.com/2012/02/difference-between-throw-and-throws-in.html
  • Total Hits: 17970

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 149 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2012-02-25 17:00:27

  • Submitted By: Javin Paul

  • Set as Favorite

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...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 36.91%  55
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.07%  15
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.41%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.74%  16
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 30.87%  46

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements