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 difference between throw and throws in c#?

923


What is the difference between int16 and int32 in c#?

989


Which debugging tools you can use in the .NET ssSDK?

1015


Explain states of a thread in c#?

1002


What are concrete classes?

941


Can an exception be thrown from a catch block?

1061


What does void do in c#?

1013


how to stored and retrive video in Sql server using asp.net c#......?

1034


What is difference between event and delegate in c#?

952


What do you know about WM_CHAR message?

1029


What is a constructor in c#?

1532


Define strong name in c#?

977


Is it possible to have a static indexer in c#? Allowed in c#.

992


What is the use of oops in c#?

966


Do void methods have parameters?

1017