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

throw - used to handle user-defined exception
throws -jvm(java virtual machine) going to take all exception

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the methods available in a class?

1076


What will be the output of round(3.7) and ceil(3.7)?

1119


Can we override protected method in java?

1062


What is a singleton class in Java?

1061


What is the formula to calculate percentage?

1010


describe method overloading

1014


Is integer immutable in java?

985


What is the difference between length and length() method in java?

1114


What purpose do the keywords final, finally, and finalize fulfill?

1090


Which of the following classes will have more memory allocated?

1017


What is the use of pattern in java?

1057


What is a arraylist in java?

1063


Print Vertical traversal of a Binary Tree.

1017


Can we sort set in java?

950


State the main difference between c++ and java?

1088