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


what is a constructor?

Answers were Sorted based on User's Feedback



what is a constructor?..

Answer / ranjith

Constructor is a method which will be executed when an
object is created. It is used to Intialize the
object.constructors has the same name as the class
name.constructors will take parameters.constructors doesnot
return any value

Is This Answer Correct ?    6 Yes 0 No

what is a constructor?..

Answer / dharmendra nonia

constructor is a special type of method that invoke when u
create a new instance of a class. Basically it is used to
initialize the member variables.Its name must be same as
the class name.It have no return type.

Is This Answer Correct ?    1 Yes 0 No

what is a constructor?..

Answer / divya

Constructor is a method that is executed when an object is
created.

Is This Answer Correct ?    0 Yes 0 No

what is a constructor?..

Answer / shadab alam

It is very Important to know that
---------------------------------------
Constructor is generally used to create the new instance of
a class.

Constructor is special type of method that is used to
initialized the member variable and It has same name as the
class Name.It does not have return type.

Is This Answer Correct ?    0 Yes 0 No

what is a constructor?..

Answer / pushparaj pentakota

constructor is a special method it's invoke when object is
created and used to initialize instance members.and doesn't
have any return type.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the difference between c and c sharp?

0 Answers  


What is polymorphism c# example?

0 Answers  


Can we instantiate abstract class in c#?

0 Answers  


What are data types in C#?

0 Answers   TryTechnicals Pvt Ltd,


What is the difference between inheritance and abstract class?

0 Answers  


Why do we parse in c#?

0 Answers  


What is c# and why it is used for?

0 Answers  


What is expression c#?

0 Answers  


What is collection class c#?

0 Answers  


What are virtual methods? How are they used?

3 Answers   TCS,


Why do we need singleton class in c#?

0 Answers  


What is difference between static and readonly in c#?

0 Answers  


Categories