Author Question: The potential for benefiting from the Object Adapter pattern is vast. Give examples of situations ... (Read 71 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 human body's pharmacokinetics are quite varied. Our hair holds onto drugs longer than our urine, blood, or saliva. For example, alcohol can be detected in the hair for up to 90 days after it was consumed. The same is true for marijuana, cocaine, ecstasy, heroin, methamphetamine, and nicotine.

Did you know?

Cocaine was isolated in 1860 and first used as a local anesthetic in 1884. Its first clinical use was by Sigmund Freud to wean a patient from morphine addiction. The fictional character Sherlock Holmes was supposed to be addicted to cocaine by injection.

Did you know?

In the United States, congenital cytomegalovirus causes one child to become disabled almost every hour. CMV is the leading preventable viral cause of development disability in newborns. These disabilities include hearing or vision loss, and cerebral palsy.

Did you know?

Vampire bats have a natural anticoagulant in their saliva that permits continuous bleeding after they painlessly open a wound with their incisors. This capillary blood does not cause any significant blood loss to their victims.

Did you know?

Certain chemicals, after ingestion, can be converted by the body into cyanide. Most of these chemicals have been removed from the market, but some old nail polish remover, solvents, and plastics manufacturing solutions can contain these substances.

For a complete list of videos, visit our video library