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 / 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

Define namespace in c++?

1031


What is the difference between new() and malloc()?

2034


Is there finally in c++?

1085


What can I safely assume about the initial values of variables which are not explicitly initialized?

1040


What is the difference between a template and a macro?

1042


Why do we learn c++?

950


What are multiple inheritances (virtual inheritance)?

1044


Differentiate between an array and a list?

1165


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?

1070


What are arithmetic operators?

977


What is the importance of mutable keyword?

1018


What is the maximum combined length of command line arguments including the space between adjacent arguments?

987


What is the difference between set and map in c++?

1128


What is setfill c++?

1140


What do you mean by “this” pointer?

1064