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 the difference between throw and throws?

Answer Posted / swapna kumari arava

By Using throw , we can create our own exceptions or user
defined exceptions and we can thorw , where as throws
defines the list of exceptions to be thown by the method.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can java inner class be static?

976


How does varargs work in java?

1040


How do you remove duplicates from an array in java?

905


What is variable length arguments in java?

911


What is the type of lambda expression?

955


Does java set allow duplicates?

1028


Define max and min heap, also the search time of heap.

989


What are methods?

968


how to prepare for IT Officers Interview in Banks

1911


What is diamond operator in java?

900


What is the mapping mechanism used by java to identify IDL language?

959


What is the meaning of flag day?

962


how to handle exceptions in ejb?

2262


What is array size in java?

918


What is flag in java?

929