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 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 between two points can b

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.

I Want a answer for solving the big M method in the topic of simplex method...

Objective Using C++ string, classes, constructors and member functions. Task A Write a program (book.cpp) to store a list of book titles and the published dates. Your pro

WAP TO PRINT SERIES FROM 1 TO 10 & FIND ITS SQUARE AND CUBE # include stdio.h> # include conio.h> # include math.h>   void main () { int a=1,sqr=0,cube=0;

Change the matrix program (program 3) slightly. Overload == operator to compare two matrices to be added or subtracted. i.e., whether the column of first and the row of second

compute algorithm to calculate simple interest

Program for Memory Optimization of C / OpenCL Code Project Description: This is possibly a very simple project for someone with an excellent knowledge of C and OpenCL. That,

c | c-c-c-c-c | c-c-C-c-c | c find distance between difftent carbon atom by programing

Explain the Working of strcpy Function? strcpy() : This function is meant to use to copy one string to another. The strcpy function as well accepts two strings as arguments.