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 / visweswara rao

throw:- System generated exceptions are automatically
thrown by the Java run-time system.To manualy throw the
exception,we use the keyword throw

throws:- Any exception that is thrown out of a method must
be specified as such by a throws clause

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by singleton class in java?

911


What is anagram word?

997


What is a jit compiler?

1135


What is implicit object in java?

1083


What does it mean that a class or member is final?

997


Explain all java features with real time examples

1721


What is module in project?

960


What are implicit objects in java?

984


What happens if we override only equals?

973


Is set thread safe java?

926


Explain about the interpreter in java?

1058


What is jit compiler in java?

1108


What is oop in java?

1069


Why doesn't the java library use a randomized version of quicksort?

995


what is encapsulation in java? Explain

1116