Answer Posted / reejusri
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 ? | 4 Yes | 11 No |
Post New Answer View All Answers
Get me an image implementation program.
Is react oop?
what are the realtime excercises in C++?
What are two types of polymorphism?
What causes polymorphism?
what are the ways in which a constructors can be called?
What are the types of abstraction?
What polymorphism means?
How can you overcome the diamond problem in inheritance?
What is oops concept with example?
What is interface in oop?
What are the advantages of polymorphism?
What is pure oop?
Why do we use oops?
What is class and example?