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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between class and interface in .net?

1060


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

1079


What are the differences between user control and server control?

1109


The project which you have made, which methodology did you use?

1053


What is COM Interoperability in .NET

1089


State some of the different languages supported by .net?

1012


Explain different types of html, web and server controls.

1009


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

998


Explain what is the difference between encrypting a password and applying a hashing?

1140


When we go for html server controls and when we go for web server controls?

1142


Explain what rare the types of jit and what is econo-jit?

1053


Will it go to finally block if there is no exception happened?

1002


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

1021


What is Ajax design pattern in .NET?

1081


Describe session handling in a webform, how does it work and what are the limitations?

1043