1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
wolverine [178]
3 years ago
7

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.

Computers and Technology
1 answer:
laila [671]3 years ago
6 0

This is the Composite pattern, one of the "Gang-of-Four" design patterns (check out their book!).

You might be interested in
You are installing an updated driver for a hardware device on your system. A dialog box displays indicating that Microsoft has d
inessss [21]

Answer:

It means the driver has been tested by Microsoft, and its an unaltered file.

Explanation:

A signed driver ensures that comes directly from Microsoft, it hasn't been modified by any other group or otherwise would lose the signature,  the driver is associated with a digital certificate that allows Windows to test its authenticity.

Since drivers work at very high-security levels on Windows OS, installing unsigned drivers it's a considerable risk.

7 0
3 years ago
A group of computers that are interconnected in order to share information or documents is called a
zaharov [31]

Answer:

computer network

Explanation:

group of computers that are interconnected in order to share information or documents.

4 0
3 years ago
A database on a mobile device containing bands, sub-bands and service provider IDs allowing the device to establish connection w
VashaNatasha [74]

Answer:

A. PRL

Explanation:

Mobile phone technologies like CDMA , GSM etc, are used by cell/ mobile phone to transmit and receive signals. With the limitation of fluctuation, a mobile phone was made to adapt to this problems, thereby combining this broadbands like CDMA, GSM,4G LTE etc gave rise to PRL (Preferred roaming list) database to hold information needed to establish connection to the correct cell tower for these broadbands.

3 0
4 years ago
How would you identify communication equipment?
eimsori [14]

Answer

Explanation:

There should be more context to this question but I would say there is a variety of things that could be seen as communication equipment, such as email, telephone, voice message, through mail.

6 0
3 years ago
On which tab can you find the margins button
insens350 [35]
In the tab key you alwAy use that to center
4 0
4 years ago
Read 2 more answers
Other questions:
  • Consolidating a system's physical and time resources is known as ________________.
    13·1 answer
  • (EASY 15 POINTS) What are two indications in a browser that a secure connection is being used?
    6·1 answer
  • Twitter and facebook are both examples of the​ _____________ internet business model.
    7·1 answer
  • Evaluate the following expression with precedence of operator:<br> ​ X = 2* 3/ 5 + 10 //3 – 1
    13·1 answer
  • Examine the following piece of code and determine the data type of the function's return value.
    11·1 answer
  • Dividing a hard drive into multiple sections is known as partitioning
    5·1 answer
  • To use a macro, a user must first <br> ____ a macro and then <br> ____the macro.
    8·1 answer
  • Take a minute to reflect on your thoughts and learning so far and discuss:
    13·1 answer
  • A computer professional's job involves analyzing computer systems for
    8·1 answer
  • unlike the barcode-based tracking system, a radio frequency identification system offers a .
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!