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 are the restrictions apply to constructors and destructors?

1087


Does c++ support exception handling?

1074


List the issue that the auto_ptr object handles?

1030


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1127


When there is a global variable and local variable with the same name, how will you access the global variable?

1110


write a porgram in c++ that reads an integer and print the biggest digit in the number

2259


What information can an exception contain?

1152


How is c++ used in the real world?

1044


Can a new be used in place of old mallocq? If yes, why?

1102


How are pointers type-cast?

1124


What is endianness?

1107


Explain what are accessor methods?

1130


In what situations do you have to use initialization list rather than assignment in constructors?

1074


What is the rule of three?

1010


What are the basics of local (auto) objects?

1150