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

In case of java if any error occur deuring the exicution
time throw is use to throwing that that into our catch block
for handling and in case of throws if any error
will occur throws can handle that error.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java console application?

955


What is the method in java?

1045


What is difference between calling start() and run() method of thread?

1060


How to create a fecelet view?

953


What is variable and example?

924


What is a instance variable in java?

996


What is passing value java?

1011


What are the different ways to handle exceptions?

949


What is thread safe singleton?

907


Why parameters should be passed by reference?

926


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1202


Is null keyword in java?

895


Why are generics used?

921


What is an infinite loop in java? Explain with an example.

989


What 5 doubled?

937