?What do relationships enable objects to do? What is the strongest kind of relationship? Walk through an example that demonstrates your understanding of the concept.

What will be an ideal response?


?Relationships enable objects to communicate and interact as they perform business functions and transactions required by the system. Relationships describe what objects need to know about each other, how objects respond to changes in other objects, and the effects of membership in classes, superclasses, and subclasses. Some relationships are stronger than others (just as a relationship between family members is stronger than one between casual acquaintances). The strongest relationship is called inheritance. Inheritance enables an object, called a child, to derive one or more of its attributes from another object, called a parent. As one example, the INSTRUCTOR object (child) inherits many traits from the EMPLOYEE object (parent), including Social Security number, Telephone number, and Hire date. The INSTRUCTOR object also can possess additional attributes, such as Type of Instructor. Because all employees share certain attributes, those attributes are assumed through inheritance and do not need to be repeated in the INSTRUCTOR object.

Computer Science & Information Technology

You might also like to view...

When testing with a paper prototype, how much of the Web site do you need to prototype?

What will be an ideal response?

Computer Science & Information Technology

What happens when you add a primitive type (e.g., double) value to a collection?

What will be an ideal response?

Computer Science & Information Technology

You find your way around LinkedIn by using the menu bar at the ________ of each page

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ____________________ statement puts the computer in a temporary pause (or wait) state while the user types a value.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology