What is multiple inheritance ?
Answer Posted / ishq basha
There will be presence of more than one base class. if we
see single inheritance there will be only one base class
whereas the multiple inheritance will be provided with more
than one base class. And in one situation some derived
class act as both base class and derived class in multiple
inheritance.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is ambiguity in inheritance?
What does <> mean pseudocode?
What is abstract class in oop?
Write a program to sort the number with different sorts in one program ??
What is the main purpose of inheritance law?
Why it is called runtime polymorphism?
#include
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
c++ program to swap the objects of two different classes
Templates mean
What is overloading in oop?
What is oops in simple words?
What is stream in oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is advantage of inheritance?