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 |
What is the problem with multiple inheritance?
Program to read a comment string
What is encapsulation in oop?
why overriding?
why c++ is called OOPS? waht is inherutance? what is compiler?
what is an qt4 interface?
What is a class and object?
What is oops?what is its use in software engineering?
What is Dynamic Polymorphism?
What is use of overloading?
Write a program to find out the number of palindromes in a sentence.
What is inheritance in simple words?