Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between throw and throws in exception?

Answer Posted / lokesh

throws is used for throwing an exception from a method to
jvm, the jvm should handle it.where us throw is used when
user needs to raise his own exception.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the importance of finally over return statement?

1110


Explain about doubly linked list

1091


What is charat java?

1021


What is the use of arrays tostring () in java?

1070


Why do we need strings in java?

1039


What do you mean by an object in java?

1183


Why does java doesnt suuport unsigned values?

2309


What is oop in java?

1163


What is the syntax and characteristics of a lambda expression? Explain

1091


Is space a char?

985


What is the difference between an array and an array list?

1077


What does the three dot emoji mean?

1198


How do you declare an array that will hold more than 64KB of data?

1383


What are examples of modifiers?

1222


what is the difference between process and thread? : Java thread

1022