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 difference between throw and throws in exception
handling.

Answer Posted / narayana reddy

throws indicates what type of exception is thrown by
a particular function, where as throw is used to through
user defined exceptions

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static binding and dynamic binding?

1136


Under what conditions is an object’s finalize() method invoked by the garbage collector?

1046


Detail discussions on JVM, memory management and garbage collector.

989


What are void methods?

1030


What is compareto?

1043


What is balanced tree in java?

977


How are the elements of a gridbaglayout organized?

1066


How many types of exception can occur in a java program?

992


Is arraylist dynamic in java?

1001


What is entry in java?

1041


What do you mean by local variable and instance variable?

959


What are the different approaches to implement a function to generate a random number?

1064


Is object a data type?

969


How many bytes is a unicode character?

1010


What is the public method modifier?

1022