Answer Posted / soumya_830312
When an base class is assinged to its derived class the
base class takes up only the base member data leaving the
data members of derived class.this is called...
| Is This Answer Correct ? | 71 Yes | 49 No |
Post New Answer View All Answers
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Get me an image implementation program.
What is the significance of classes in oop?
#include
What are properties in oop?
What is difference between polymorphism and inheritance?
Why do while loop is used?
What is methods in oop?
What is destructor oops?
How do you explain polymorphism?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What does and I oop mean?
What is encapsulation with example?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Can an interface inherit a class?