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 / mandeswara rao

Before catching an exception it is must to be thrown first.
This means that there should be a code somewhere in the
program that could catch the exception. We use throw
statement to throw an exception or simply use the throw
keyword with an object reference to throw an exception. A
single argument is required by the throw statement i.e. a
throwable object.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the class in c#?

923


What is an assembly in .net?

1036


What language do desktop applications use?

994


Can I define my own exceptions?

933


What's the difference between class and object?

1042


What is func c#?

1046


What is the difference between yield and return?

942


What is the difference between malloc () and new?

1122


What is difference between throw and throws in c#?

927


What is difference between function and method in c#?

947


What are extender provider components? Explain how to use an extender provider in the project.

943


What is datetime minvalue in c#?

1079


What is the difference between “dispose” and “finalize” variables in c#?

1064


Why are dynamic link library used over static one?

1020


Explain the difference between proc. Sent by val and by sub?

966