Answer Posted / 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 |
Post New Answer View All Answers
What is variable example?
Why do pointers exist?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Whats is abstraction in oops? Why interface is used? I have One image (means a group photo ) how to split the
faces only from the image?............ please send the
answer nagadurgaraju@gmail.com thanks in advace...
Why do we use class? Get me a number puzzle game-program What does and I oop mean? What is the point of polymorphism? What is oops and why we use oops? Which is better struts or spring? Why polymorphism is used in oops? What is balance factor? What is class and object in oops?