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
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are objects in oop?
Can static class have constructor?
Which language is not a true object oriented programming language?
What are different oops concepts?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is encapsulation c#?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
hi all..i want to know oops concepts clearly can any1 explain??
What is encapsulation example?
Why do we use oops?
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 methods in oop?
What is inheritance and how many types of inheritance?
What is the difference between abstraction and polymorphism?