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


Please Help Members By Posting Answers For Below Questions

Which programming language is best?

543


Can a built-in function be recursive?

576


What's the order in which the objects in an array are destructed?

843


Which bit wise operator is suitable for checking whether a particular bit is on or off?

597


What is the difference between the parameter to a template and the parameter to a function?

626






Which one is a preferred language C or C++? Why?

613


What is size_type?

539


Can static member variables be private?

617


Explain about vectors in c ++?

589


What is an incomplete type in c++?

760


Explain stack & heap objects?

623


What are the benefits of c++?

562


What are structures and unions?

565


What are the benefits of oop in c++?

582


What is the difference between #import and #include?

543