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 / suman

"throw" is used to handle user-defined exception.
JVM handles the exceptions which are specified by "throws"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you generate random numbers in java?

1068


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

1150


How many types of flags are there?

1062


What type of variable is gender?

1043


What is abstraction in java?

1143


Explain spliterator in java8?

1099


What does java stand for?

1205


Explain illegalmonitorstateexception and when it will be thrown?

1158


What is the symbol for space?

1045


What do you mean by of string::valueof expression in java 8?

1007


Can we store variables in local blocks?

1408


What are different type of exceptions in java?

1017


What is private static class in java?

1063


Can we overload the constructors?

1043


How to Sort Strings which are given in List and display in ascending order without using java api.

4518