Does c++ support multilevel and multiple inheritance?
Answer Posted / yagya
yes
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you answer polymorphism?
Why do we use encapsulation in oops?
How do you define social class?
Why do we use 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 is property in oops?
What is oops and its features?
What is destructor oops?
Can we override main method?
Why is polymorphism important in oop?
What is abstraction encapsulation?
What is basic concept of oop?
Which type does string inherit from?
Can an interface inherit a class?
What is oops concept with example?