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
Why is polymorphism important in oop?
What is polymorphism in oops with example?
Which language is pure oop?
what's the basic's in dot net
what type of question are asked in thoughtworks pair programming round ?
What is the difference between encapsulation and polymorphism?
can inline function declare in private part of class?
What is basic concept of oop?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is the real time example of encapsulation?
What is super in oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is multilevel inheritance in oop?
What is object and class in oops?
What is object-oriented programming? Webopedia definition