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

What are conditionals and its types?

1140


What are inner classes or non static nested classes in java?

1174


What is subsequence of a string?

1095


What are untrusted applets?

1144


What is arrays sort in java?

966


How to store image in arraylist in java?

973


What are the states of thread in java?

972


How will you reverse a singly-link list?

1005


What is int short for?

1044


What is structure of java heap? What is perm gen space in heap?

1125


What is the purpose of using java.lang.class class?

1012


How does the java compiler work?

970


What is parameters example?

1030


Do I need java on my computer?

981


Can static method access instance variables ?

1136