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 a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
Explain linked list using c++ with an example?
List the advantages of inheritance.
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What does asterisk mean in c++?
Is C++ case sensitive a) False b) Depends on implementation c) True
What causes a runtime error c++?
Which is the best c++ compiler for beginners?
what is a class? Explain with an example.
What are references in c++?
What is #include iomanip?
Can comments be nested?
What do the header files usually contains?
Why is c++ not purely object oriented?