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 is virtual class in C#?

994


Does google use c#?

904


Can we have multiple constructors in a class c#?

921


explain the three services model commonly know as a three-tier application.

987


What operator means?

881


What is cli in c#?

940


Write a C# program to find the Factorial of n

983


What is the difference between gettype and typeof in c#?

908


Is visual c# free?

910


What are the uses of namespaces?

1013


Are structs value types or reference types?

1062


What is Event - Delegate?

1076


What is the difference between parse and tryparse in c#?

1021


What is verbatim string literal in c#?

968


What is the difference between Java and .NET garbage collectors?

1029