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 are properties in oop?
What are objects in oop?
How can you overcome the diamond problem in inheritance?
What is polymorphism what is it for and how is it used?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Why is oop useful?
What is the difference between procedural programming and oops?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is a class in oop?
What is class and object with example?
What is byval and byref? What are differences between them?
write a program to find 2^n+1 ?
How do you define social class?
Can destructor be overloaded?
What is polymorphism and why is it important?