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 use of optional ?

992


why not override thread to make a runnable? : Java thread

961


How do you access command-line arguments within the code?

1012


How do you implement singleton class?

936


Can we have any code between try and catch blocks?

937


What about interrupt() method of thread class ?

1020


What does string [] args mean?

960


java program with complete 4 oops concepts implemented example

3101


make a method which any number and any type of argument and print sum of that arguments.....

1756


Define "Access specifiers" in java.

1127


How will you compute size of a structure?

1094


How does callback work in java?

1007


What is a variable analysis?

1037


Explain the private protected method modifier?

915


What are untrusted applets?

1082