1.

Which classes are called as mixin?(a) Represent a secondary design(b) Classes express functionality which represents responsibilities(c) Standard logging stream(d) Represent a priary designThis question was posed to me in a national level competition.My question is from Class Hierarchies Introduction in section Class Hierarchies, Library & Containers of C++

Answer»

The correct option is (b) Classes express FUNCTIONALITY which represents responsibilities

The best I can explain: A class that EXPRESSES functionality rather than its PRIMARY design role is CALLED a MIXIN.



Discussion

No Comment Found

Related InterviewSolutions