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?

Answer Posted / neeraj kumar singh

When we wants to throw an exception explicitly in the program use the throw keyword.Whether a throws keyword is used when a system throws an exception itself.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

981


What is general methodology?

979


What is overloading and overriding in java?

1158


whatis Home interface and Remoteinterface? with example?

1943


Give me example of derived data types.

1086


What is final int?

947


What a static class can contains?

1106


What is a "pure virtual" member function?

1041


Is Constructor possible in abstract class in java ?

985


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1043


What is java oops?

995


What’s the difference between unit, integration and functional testing?

1047


What are parameters in a method?

1039


Can we assign null to double in java?

961


How to create packages in java?

890