Author Question: The potential for benefiting from the Object Adapter pattern is vast. Give examples of situations ... (Read 83 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?

Eat fiber! A diet high in fiber can help lower cholesterol levels by as much as 10%.

Did you know?

There are over 65,000 known species of protozoa. About 10,000 species are parasitic.

Did you know?

Oxytocin is recommended only for pregnancies that have a medical reason for inducing labor (such as eclampsia) and is not recommended for elective procedures or for making the birthing process more convenient.

Did you know?

Walt Disney helped combat malaria by making an animated film in 1943 called The Winged Scourge. This short film starred the seven dwarfs and taught children that mosquitos transmit malaria, which is a very bad disease. It advocated the killing of mosquitos to stop the disease.

Did you know?

Dogs have been used in studies to detect various cancers in human subjects. They have been trained to sniff breath samples from humans that were collected by having them breathe into special tubes. These people included 55 lung cancer patients, 31 breast cancer patients, and 83 cancer-free patients. The dogs detected 54 of the 55 lung cancer patients as having cancer, detected 28 of the 31 breast cancer patients, and gave only three false-positive results (detecting cancer in people who didn't have it).

For a complete list of videos, visit our video library