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
How many human genes are polymorphic?
what are the different types of qualifier in java?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
#include
What is interface in oop?
What is static in oop?
Why multiple inheritance is not allowed?
What are the types of abstraction?
What is byval and byref? What are differences between them?
Get me an image implementation program.
Which language is not a true object oriented programming language?
How Do you Code Composition and Aggregation in C++ ?
When not to use object oriented programming?
What is destructor in oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?