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
A student apears in exam of math, physics, and chemistry. Write a program to find the total marks aa student has aqueired find the average.

color representation 0,1,2,3,4,5,6,7,.......


write a program to find the area under the curve y=f(x) between x=a & x=b

Use the program called harris-shell.c and add some code to find the corners in the image checkers.jpg. You should say that a pixel in the image is a corner if it passes the given t

Project Description: Design and prepare software that can navigate a mobile robot using SLAM technique using vision sensor (camera). Skills required are C Programming, Engine

Question: (a) What is a function? Are functions needed when writing a C program? (b) State one of the advantages to the use of functions. (c) What do you meant by underst

Binary search in array: - C program: Write a program in c to define binary search in array. void main()                 {                 clrscr();

Define Pure Virtual Function? Why & when it is used?

Program of function overloading: class vector{                 private :                 int v[3];                   public:                 /*friend istream &