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

Where are the card layouts used?

1126


How does hashmap work in java ?

1107


What two classes are used to read data only?

1138


What is difference between wait and notify in java?

1202


What is difference between path and classpath?

1269


How can we achieve thread safety in java?

1201


When is the finalize() called?

1232


Is zero a positive integer?

1143


Does list maintain insertion order java?

969


What do you mean by platform independence of Java?

1227


Can we restart a thread already started in java?

1146


What is boolean query?

1037


What do you mean by order of precedence and associativity?

996


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

1119


What are the Main functions of Java?

1131