what is costructor?
Answer / dipraj shahane
Constructor is special member function of class which having
same name as Class name and no return type. Main function of
Constructor is to initialize (give default values to member
variable of class object) object. Constructor gets invoke
when you create new object by following syntax.
ClassName objectName = new ClassName();
| Is This Answer Correct ? | 22 Yes | 0 No |
Which is the only operator in C++ which can be overloaded but NOT inherited?
what do you mean by static member variable?
What does and I oop and sksksk mean?
Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?
Precompilation ?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
How do you achieve polymorphism?
What is the difference between inheritance and polymorphism?
What is oops and its features?
what is ns string? what is ns array?
What is oops?what is its use in software engineering?
What is difference between class and object with example?