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

Explain the difference between constants and read-only variables?

979


Explain me why do we use msmq?

973


Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?

942


Is .net is a language?

1030


What is an anonymous method and how is it different from a lambda expression?

945


What are two different types of remote object creation mode in .net?

966


Explain the process of serialization in .NET?

1035


Explain what relationship is between a process, application domain, and application?

1013


How to load a user control dynamically in runtime?

1001


How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?

909


Explain garbage collection?

912


One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?

911


What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

921


Why you want to leave your previous company.

2032


Explain cas (code access security)?

977