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

Why can't we override private static methods?

1021


What is a boolean output?

1026


Why main function is static?

1321


Write a program to print count of empty strings in java 8?

1063


What are anonymous inner classes?

1055


What is the major advantage of external iteration over internal iteration?

1153


What sorting algorithm does javascript use?

1031


What is the difference between compiler and jvm?

1109


What does string [] args mean?

1068


How to sort double array in java?

1039


What is final method in java?

1086


What occurs when an object is constructed?

1067


Can we write a class without main method in java?

1002


What is the difference between processes and threads?

1115


Can classes declared using the abstract keyword cab be instantiated?

1097