Answer Posted / hrpynux@gmail.com
A constructor in C++ is a special 'MEMBER FUNCTION' having the same name as that of its class which is used to initialize some valid values to the data members of an object. It is executed automatically whenever an object of a class is created
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is inheritance and an example in vb.net and c# of when you might use it?
What is mvc pattern in c#?
What is executereader in c#?
What is the default value of object in c#?
Can an exception be thrown from a catch block?
How do you specify a custom attribute for the entire assembly?
What is web forms in c#?
Name the connections does microsoft sql server support?
Can you inherit multiple abstract classes in c#?
How many bytes is a char c#?
What are the return types in c#?
What is instantiating a class?
What does out mean c#?
Why is .net so popular?
What are fields in c#?