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
Explain friend class?
Which sort does c++ use?
What is #include iostream?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
what is pre-processor in C++?
What is iostream in c++ used for?
Define a nested class.
What is a class definition?
What is the extraction operator and what does it do?
What are the various storage classes in C++?
What is a node class in c++?
Who created c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
What is function overloading in C++?
Define namespace in c++?