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 |
Get me a number puzzle game-program
What are callback functions in c++
Write pseudo code for push in a stack?
How is polymorphism achieved?
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
What is persistence in oop?
What is encapsulation in oops?
Can java compiler skips any statement during compilation time?
What are the 3 pillars of oop?
what is difference between c++ language and java language
Which language is not a true object oriented programming language?
Why interface is used?