Answer Posted / reeju srivastava
Mixin is a class that does not implement any method but are
in fact has only pure virtual methods. The implementor
decides the logic for these methods.
The term mixin were originally explored in the Lisp
language In C++, the term has been used to describe classes
in a particular (multiple) inheritance arrangement:
As superclasses of a single class that themselves have a
common virtual base
class .
We would like to specify an extension without pre-
determining what exactly it can extend. This is equivalent
to specifying a subclass while leaving its superclass as a
parameter to be determined later. The benefit is that a
single class can be used to express an incremental
extension, valid for a variety of classes.
| Is This Answer Correct ? | 3 Yes | 19 No |
Post New Answer View All Answers
What is object-oriented programming? Webopedia definition
Is data hiding and abstraction same?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
write a programe to calculate the simple intrest and compund intrest using by function overlading
Why multiple inheritance is not allowed?
Where is pseudocode used?
What are the 3 principles of oop?
What are the data types in oop?
What is the diamond problem in inheritance?
How do you explain polymorphism?
What is property in oops?
What is solid in oops?
What is the point of oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Why is oop better than procedural?