Throw keyword

0 Aadesh Rana · May 26, 2015
Can someone explain me the throw keyword. There doesnt seem to be any proper explanation. 

Post a Reply

Replies

Oldest  Newest  Rating
0 Sean Dunn · May 27, 2015
The throw keyword indicates a method in which a certain exception might occur. When you use a method that throws an exception, it goes in a try catch block and you catch the thrown exception. I hope that makes sense.
  • 1

Java / Android Development

106,948 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator