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

How do you reverse a string in java without using string buffer?

1038


What is a two-pass assembler?

987


What is the implementation of destroy method in java. Is it native or java code?

899


How do you write a conditional statement?

892


Explain covariant method overriding in java.

1045


What is remote method invocation (rmi)?

1005


What is final keyword?

1085


What is the basic difference between string and stringbuffer object?

1023


Why java is platform independent? Explain.

956


What is the purpose of a parameter?

999


How many types of keywords are there?

936


What is a ternary operator in java?

937


Is Constructor possible in abstract class in java ?

983


what is method reference in java 8?

976


Explain inheritance in java?

926