Answer Posted / p.madhupriya
one derived(child) class is takes properties from more then
one base(parent) class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of polymorphism?
What is basic concept of oop?
Write a c++ program to display pass and fail for three student using static member function
Can main method override?
What is the difference between encapsulation and polymorphism?
What is inheritance and how many types of inheritance?
Which type does string inherit from?
What is encapsulation process?
What is difference between inheritance and polymorphism?
What do you mean by Encapsulation?
• What are the desirable attributes for memory managment?
What is oops?what is its use in software engineering?
Explain virtual inheritance?
What is byval and byref? What are differences between them?
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