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

throw - It is used to throw an Exception.
throws - This is used to specifies that the method can
throw Exception

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is singleton class in java?

990


v-model life cycle

1994


What is difference between this and super keyword?

937


Is arraylist a class in java?

991


How to create an immutable class?

1032


what type of questions asked for barclays technologies pune please send urgent

5603


Write a program to find maximum and minimum number in array?

936


How does multithreading take place on a computer with a single cpu?

946


Why array is used in java?

906


How do you write a good declaration?

904


what are the high-level thread states? : Java thread

946


Differentiate between postfix and prefix operators in java.

1076


What does flag mean in java?

961


What are the classes of java?

917


Why vector class is used?

929