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...

Explain about throw keyword?

Answer Posted / vibhor shukla

throw is used to throw an exception from any part of the
program not necessarily the method only.

whereas throws is particularly used to throw an exception
arising out of the use of a method to the exception handler
which is the catch block..

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are native functions?

827


What is use of private class in c#?

920


Why dependency injection is used in c#?

899


What is boolean conditions in c#?

914


What is sql transaction in c#?

843


Explain the difference between Response.Write () and Response.Output.Write ().

893


How the versioning applies to Assemblies or can you explain version numbers?

968


How can we make a thread sleep for infinite period ?

941


Can we override interface method?

900


Does c# provide copy constructor?

953


What is meant by console programming?

850


Why is it called c sharp?

877


What is the use of generics in c#?

813


How long will it take to learn c#?

911


When do you generally use a class over a struct?

913