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
1. Create text a file with the name "myemail" that has a single line in it, consisting of your email address. Something like "firstname_lastname@carleton.ca" (or your hotmail or gm

Scope Rules and Storage Classes The storage class verifies the life of a variable in terms of its duration or its scope. There are four storage classes : automatic static

Create an applet that bounces a blue ball inside an applet using Thread. The ball (diameter is 10) will start at position (0,0). When the ball hits the edge of the applet, the ba

How does an ERP System facilitates better decision making?

Construct a console program to manage the booking of a Hotel room.

A: Provided that function parameter is "const reference", compiler create temporary variable in following two ways. a) The actual argument is the correct type, however it isn't

Introduction to Classes Object-oriented programming (OOP) is a conceptual approach to design programs. It can be executed in many languages, whether they directly support OOP c

We want Guys For Job in Gaming Tracks Company for a mobile game developing Project Description: I want a team of game developers for life-time as mobile dev team in my compan


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