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

throw will throws the exception,
and throws declares that the function will throw an exception
you should catch all every functions throwing and exception
u declare it or catch it

Is This Answer Correct ?    29 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by JVM?

1080


What is the importance of finally block in exception handling?

1031


How many functional interfaces does java 8 have?

1028


What is a Hash Table? What are the advantages of using a hash table?

1088


Explain about the main() method in java?

1109


What is the exact difference in between Unicast and Multicast object? Where will it be used?

1058


What do you mean by hashing?

1108


What is linkedlist in java?

1001


What are peerless components?

1089


Why do we use threads in java?

1118


Explain about serializable interface in java?

1001


What is the final variable?

1245


Explain the importance of finally over return statement?

1044


How to use Media tracker Class.

1128


How to convert string to char and vice versa?

1004