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

throw is used to handle user defined Exception where as throws is used ti handle Predefined exceptions

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When parseint method can be used?

957


What is are packages?

1041


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

1001


What are the differences between this and super keyword?

951


What is serial version uid and its importance in java?

1057


When to use runnable interface vs thread class in java?

990


How many functional interfaces does java 8 have?

1035


What are the 4 types of characters?

1014


Can we overload the methods by making them static?

1007


Can we force garbage collector to run ?

1057


Is null function in java?

1054


Write a program to find the whether a number is an Armstrong number or not?

1034


How many decimal digits is 64 bit?

934


What is externalizable interface?

1112


What happens if constructor is private?

1039