Explain the ISA and HASA class relationships. How would you
implement each in a class design?
Answer Posted / nishikant sahu
"ISA" a relationship is aka Inheritance and used to extent
the capability of Base, whereas "HASA" relationship is aka
Containment use to take the all properties of BASE.
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
Why do we use classes in c++?
Explain the problem with overriding functions
How do I get good at c++ programming?
What is the difference between a reference and a pointer?
What is c++ virtual inheritance?
What is a syntax in c++?
Is ca high or low level language?
Can we use this pointer in a class specific, operator-overloading function for new operator?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
When should we use container classes instead of arrays?
What is decltype c++?
What are guid? Why does com need guids?
Does c++ have foreach?
What is static in c++?
What do you mean by late binding?