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
How many static variables are created if you put one static member into a template class definition?
What is an overflow error?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
Can you please explain the difference between static and dynamic binding of functions?
List the issue that the auto_ptr object handles?
Mention the purpose of istream class?
What is class definition in c++ ?
What is the full form of india?
What is using namespace std in c++?
Explain container class.
Give an example of run-time polymorphism/virtual functions.
What are the four main data types?
Is c++ primer good for beginners?
What do you mean by function overriding & function overloading in c++?
Why is c++ still popular?