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 information can an exception contain?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
How do you initialize a string in c++?
Do you know about latest advancements in C++ ?
What is a character in c++?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
What are mutator methods in c++?
what kind of projects are suitable for c and c++
Explain the differences between private, public and protected and give examples.
Can I learn c++ as my first language?
What is the difference between multiple and multilevel inheritance in c++?
Does c++ have foreach?
When should overload new operator on a global basis or a class basis?
What is abstraction in c++ with example?
What do you understand by pure virtual function? Write about its use?