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
Define namespace in c++?
What is the difference between new() and malloc()?
Is there finally in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is the difference between a template and a macro?
Why do we learn c++?
What are multiple inheritances (virtual inheritance)?
Differentiate between an array and a list?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
What are arithmetic operators?
What is the importance of mutable keyword?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
What is the difference between set and map in c++?
What is setfill c++?
What do you mean by “this” pointer?