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

How many static variables are created if you put one static member into a template class definition?

1047


What is an overflow error?

1106


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

1077


Can you please explain the difference between static and dynamic binding of functions?

1033


List the issue that the auto_ptr object handles?

1026


Mention the purpose of istream class?

1113


What is class definition in c++ ?

1094


What is the full form of india?

1131


What is using namespace std in c++?

1162


Explain container class.

1245


Give an example of run-time polymorphism/virtual functions.

1007


What are the four main data types?

1085


Is c++ primer good for beginners?

1046


What do you mean by function overriding & function overloading in c++?

1188


Why is c++ still popular?

1053