subject
Computers and Technology, 12.03.2021 16:40 reemoe

Suppose you have to design an application for drawing 2D geometric shapes. Some shapes are complex and may contain one or more shapes, basic or complex. For instance, a House shape includes 3 Rectangle (basic) shapes, a Chimney shape, and an Ellipse (basic) shape. The Chimney is a complex shape and includes 4 Line shapes. A complex shape behaves like a basic shape but also allows one to add/remove basic shapes to/from it. What design pattern must be applied to these shape concepts

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
The most common battery cable terminal is a that provides a large surface contact area with the ability to tighten the terminal onto the battery post using a nut and bolt.
Answers: 2
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
You know the right answer?
Suppose you have to design an application for drawing 2D geometric shapes. Some shapes are complex a...
Questions
Questions on the website: 13722367