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

What is regex used for?

992


What are the main differences between notify and notifyAll in Java?

1094


Explain tree set and its features?

1056


List types of storage classes in java?

1154


What is the preferred size of a component in java programming?

1004


What are the object and class classes used for?

1045


How do you use find and replace?

959


Can we increase size of array?

1031


What is the association?

988


What is the intersection and union methods?

1024


Which software is used for java programming?

1023


Write a program in java to establish a connection between client and server?

970


What is the final access modifier in java?

1080


Write an algorithm for quick sort?

1035


Does treeset use compareto?

978