Author Question: The potential for benefiting from the Object Adapter pattern is vast. Give examples of situations ... (Read 45 times)

nevelica

  • Hero Member
  • *****
  • Posts: 563
The potential for benefiting from the Object Adapter pattern is vast. Give examples of situations when you can use this pattern.
 
  What will be an ideal response?

Question 2

Dynamic modeling portrays actions and interactions of a system's components to satisfy its behavioral requirements.
 
  Indicate whether the statement is true or false



spencer.martell

  • Sr. Member
  • ****
  • Posts: 342
Answer to Question 1

When we want to use an existing class, and its interface is not what we need, a reusable class does not have compatible interface, or several existing subclasses cannot adapt their interfaces one-by-one, then an object adapter can adapt the interface of its parent class.

Answer to Question 2

TRUE



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

The Centers for Disease Control and Prevention has released reports detailing the deaths of infants (younger than 1 year of age) who died after being given cold and cough medications. This underscores the importance of educating parents that children younger than 2 years of age should never be given over-the-counter cold and cough medications without consulting their physicians.

Did you know?

Fungal nail infections account for up to 30% of all skin infections. They affect 5% of the general population—mostly people over the age of 70.

Did you know?

Inotropic therapy does not have a role in the treatment of most heart failure patients. These drugs can make patients feel and function better but usually do not lengthen the predicted length of their lives.

Did you know?

Thyroid conditions may make getting pregnant impossible.

Did you know?

Pregnant women usually experience a heightened sense of smell beginning late in the first trimester. Some experts call this the body's way of protecting a pregnant woman from foods that are unsafe for the fetus.

For a complete list of videos, visit our video library