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


When compiler adds a default constructor to a class?

Answers were Sorted based on User's Feedback



When compiler adds a default constructor to a class?..

Answer / chandana

The compiler adds a default constructor to a class when no
constructor are specified by the programmer.

Is This Answer Correct ?    10 Yes 0 No

When compiler adds a default constructor to a class?..

Answer / sitaram

when ever compile the class,First compiler check the any
type of constructor is available or not in that class? if
it is not available. compiler will automatically create the
default constructor.

Is This Answer Correct ?    3 Yes 1 No

When compiler adds a default constructor to a class?..

Answer / abhay k pandey

When there in no explicite parameterless constructor
written for any class. C# compiler calls the default
constructor and initializes fields with zero, false and
null values.

Is This Answer Correct ?    1 Yes 0 No

When compiler adds a default constructor to a class?..

Answer / romeo

when the object of that class is created with no parameters
passed.

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More C Sharp Interview Questions

If a child class instance is created, which class constructor is called first - base class or child class?

0 Answers  


Are there functions in c#?

0 Answers  


What is part of a method signature in c#?

0 Answers  


Can you use all access modifiers for all types?

0 Answers  


How to include c++ header files in c# components?

1 Answers   UST,


What are All kind of access specifiers for a class and for methods

0 Answers  


What is the use of iqueryable in c#?

0 Answers  


What?s a delegate?

3 Answers  


Is object an int c#?

0 Answers  


What is windows form in c#?

0 Answers  


What is the difference between CONST and READONLY?

0 Answers   BirlaSoft,


How do I open the console?

0 Answers  


Categories