Explain the ISA and HASA class relationships. How would you
implement each in a class design?
Answer Posted / guest
A specialized class "is" a specialization of another class
and, therefore, has the ISA relationship with the other
class.
This relationship is best implemented by embedding an
object of the Salary class in the Employee class.
Is This Answer Correct ? | 9 Yes | 13 No |
Post New Answer View All Answers
What is singleton class in c++?
What do you mean by volatile and mutable keywords used in c++?
Why is c++ not purely object oriented?
What are references in c++?
What are the comments in c++?
Is rust better than c++?
What is the advantage of an external iterator.
What is constructor and destructor in c++?
What are arithmetic operators?
What is the difference between the indirection operator and the address of oper-ator?
What is struct c++?
Do class declarations end with a semicolon?
What is virtual methods?
How are virtual functions implemented in c++?
Should I learn c or c++ first?