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.

Answers were Sorted based on User's Feedback



Explain constructor...

Answer / hafiza khan

Constructor is like a method with a same name as of ur
class name ,no return type..
It is used to initialize the memebr variables of the class..
If there is no contructor provided compiler invokes the
default constructor. the Moment there is contructor is
provided to the class it can be any either default or
parameterized the compiler stops invoking it own default
constructor

Is This Answer Correct ?    12 Yes 0 No

Explain constructor...

Answer / 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

More Dot Net General Interview Questions

What are channels in .NET Remoting?

2 Answers   Rolta,


Elements of CAS

0 Answers  


Without UDDI, is it possible to access a remote web service ?

1 Answers   RR, TCS, Tech Mahindra,


What is .net3.5?

0 Answers  


What is an exe and a dll?

0 Answers  


Explain can 2 different applications use the same dll in gac at the same time?

0 Answers  


Please explain what is the difference between constants and read-only variables?

0 Answers  


when web.config file is being called or referenced?tell me about the searialized procedure followed in page loading.

1 Answers   AZTEC,


what are connection strings?

0 Answers   Manhattan, RTRT,


.What is Marshaling?

2 Answers  


What is the use of common language runtime?

0 Answers  


Explain different types of html, web and server controls.

0 Answers  


Categories