Described the isa and hasa class relationships. , C/C++ Programming

Described the ISA and HASA class relationships. How would you apply each in a class design?

A: A specialized class "is" specialization of another class and, thus, has the ISA relationship along with the other class. This relationship is best implemented via embedding an object of the Salary class in the Employee class.

 

Posted Date: 3/16/2013 2:52:18 AM | Location : United States







Related Discussions:- Described the isa and hasa class relationships. , Assignment Help, Ask Question on Described the isa and hasa class relationships. , Get Answer, Expert's Help, Described the isa and hasa class relationships. Discussions

Write discussion on Described the isa and hasa class relationships.
Your posts are moderated
Related Questions
#write a multilevel c++ program to take marks of 3 subjects and calculate percentage and display it

how are metric numer change the number of metric

solve mesh and nodal analysis through c/c++?

Simple program of c++: int main() {    int   bushels;    float dollars, rate;                 cout                 cin >> dollars;                 cout

A:  it is containing and hiding Information regarding an object, like internal data structures and code. It isolates the internal complication of an object's operation from the res

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve betw

The STL details are described in many places online (see the CS377 webpage for some links), and there's a very quick introduction in Section A.14. Here are just a few additional no

need an expert programmer to finish coding the requirements from the assignment withen 4 hrs

How do I allocate multidimensional arrays by new? A: There are several ways to do this, based on how flexible you wish the array sizing to be. On one acute, if you know all the