Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

1049


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

972


Explain linked list using c++ with an example?

1022


List the advantages of inheritance.

1063


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1016


What does asterisk mean in c++?

1067


Is C++ case sensitive a) False b) Depends on implementation c) True

1017


What causes a runtime error c++?

1074


Which is the best c++ compiler for beginners?

1016


what is a class? Explain with an example.

1100


What are references in c++?

1089


What is #include iomanip?

951


Can comments be nested?

985


What do the header files usually contains?

1000


Why is c++ not purely object oriented?

962