described the isa and hasa class relationships


Described the ISA and HASA class relationships. How would you apply each in a class design?

A: A specialized class "is" specialization of another class and, thus, has the ISA relationship along with the other class. This relationship is best implemented via embedding an object of the Salary class in the Employee class.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: described the isa and hasa class relationships
Reference No:- TGS0211570

Expected delivery within 24 Hours