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

Answer Posted / megha

Constructor is a method having same name as that of a
class.It is automatically invoked when an object is
created.It is used to Initialize variables of a class.It has
no return types.
3 types of constructors are:-
1)default constructor
2)parameterised constructor
3)static constructor

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a manifest in .net?

1058


Explain the use of activex control in .net?

1062


How many types of transactions are there in com + .net ?

1075


What versions of .net are there?

1063


How to spawn a thread?

1034


Explain how to rename a table using sql queries?

1076


How do you instantiate a complex number?

1083


What are asp.net authentication providers and iis security?

1050


What are the important components of .net?

1019


What is the difference between .net 2000 and .net 2005(features)? Which one is better?

972


What is a design pattern and what is it for?

1076


Describe the Managed Execution Process

2165


Explain asp.net?

1100


What’s different between process and application in .net?

1079


What is the concept of inheritance in .net?

1171