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 are the advantages and disadvantages of reference counting in garbage collection?

1028


How do you clear a method in java?

1006


How many digits can a float hold?

1011


define the terminology association.

1104


Why does java not support operator overloading?

1140


What is object data type?

997


How can you add and remove nodes in jtree?

1044


What is java english?

1002


How do you test a method for an exception using junit?

1210


How to solve the problem of generating the unique hash keys with hash function?

1916


What is the main function in java?

1069


What is main difference between variable and constant?

1036


How to sort a collection of custom Objects in Java?

1058


What is static and final keyword in java?

1023


When we serialize an object does the serialization mechanism saves its references too?

1020