subject

You review a design written by somebody else for an application and you find these: - an interface shape with a method draw() - a class circle that implements shape - a class rectangle that implements shape - a class compoundshape that: o implements interface shape o aggregates 0 or more shape objects, o has an extra method called add(shape sh) o for implementing method draw() calls the draw() method for all aggregated shape objects. you assume that a compoundshape object is made of multiple shapes. what design pattern is at work in this application? explain your answer.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
Which of the choices sean are not true when considering virus behavior
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
Which of the following examples has four beats in each measure?
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 24.06.2019 01:00
Me if you do then you get 10 points and brainliest
Answers: 1
You know the right answer?
You review a design written by somebody else for an application and you find these: - an interface...
Questions
question
Chemistry, 31.07.2019 10:00
question
History, 31.07.2019 10:00
Questions on the website: 13722360