Author Question: The potential for benefiting from the Object Adapter pattern is vast. Give examples of situations ... (Read 46 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 most destructive flu epidemic of all times in recorded history occurred in 1918, with approximately 20 million deaths worldwide.

Did you know?

Always store hazardous household chemicals in their original containers out of reach of children. These include bleach, paint, strippers and products containing turpentine, garden chemicals, oven cleaners, fondue fuels, nail polish, and nail polish remover.

Did you know?

Of the estimated 2 million heroin users in the United States, 600,000–800,000 are considered hardcore addicts. Heroin addiction is considered to be one of the hardest addictions to recover from.

Did you know?

When blood is exposed to air, it clots. Heparin allows the blood to come in direct contact with air without clotting.

Did you know?

In 1885, the Lloyd Manufacturing Company of Albany, New York, promoted and sold "Cocaine Toothache Drops" at 15 cents per bottle! In 1914, the Harrison Narcotic Act brought the sale and distribution of this drug under federal control.

For a complete list of videos, visit our video library