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

Elements of CAS

2152


What is the use of immutability?

1047


Name the classes that are introduced in the system.numerics namespace.

1013


Explain how viewstate is being formed and how it's stored on client in .net?

932


What are the deferred execution and the immediate execution in linq?

966


What is difference between .net and .net core?

972


Explain asp.net?

1042


Explain the purpose of Remoting in .NET?

1086


What are the collections you've used?

1033


What is Complex Class in .NET?

978


Tell us the difference between the while and for loop. Provide a .net syntax for both loops?

934


How to implement CAS in .Net?

2803


I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?

1953


What are the new 2.0 features useful for?

1139


Explain attributes in dot net?

997