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
What is the benefit of oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is inheritance in simple words?
What is abstraction encapsulation?
What is object in oop?
What is overriding in oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Advantage and disadvantage of routing in telecom sector
What is an example of genetic polymorphism?
What is a null tree?
Can you explain polymorphism?
can we make game by using c
What is class and object with example?
Why do we use oop?
What is static in oop?