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?
What is the similarity between try and throw?

Answer Posted / giri

throw is used to throw an exception manually, where as
throws is used in the case of checked exceptions

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you remove an object from an arraylist in java?

950


What is the difference between the paint() and repaint() methods in java programming?

1168


What does a void function return?

984


explain what is transient variable in java?

1105


How arrays are stored in memory in java?

965


How to reverse a string in java?

1054


Can we create a constructor in abstract class?

963


What is the largest data type in java?

955


What is a nested structure?

1015


What is set in java?

1026


Which collection allows duplicate values in java?

955


How many types of gc are there in java?

971


What is the difference between array and array list in java?

1210


How do you sort words in java?

910


How do you remove an element from an arraylist in java?

984