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 calculate gross salary and net salary using hra da pf in c++

Default argument: When the argument is missing then the function will read the default value of the missing argument.  To make use of default argument functionality the argu

limitation of linear array

A: Use operator overloading to present a friend left-shift operator, operator #include class Fred { public: friend std::ostream& operator ... private: int i_; // onl

Explain procedural logic A procedure, or function, was explained as a set of specific instructions implemented in sequential manner. The data is kept separate from the procedur

In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc

Q:  Tells the operators one can override; which operators should he override? A: Bottom line: don't puzzle your users. Remember the reason of operator overloading: to decreas

solution of problem based on poiter

Write a sequence of instructions that transfers data from memory to an external I/O device by using channel 3 of the 8237 DMA controller. Transfer from 20000H-20FFFH.

how to create a shopping cart and sibmit the code segment on screan