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
ikadub [295]
3 years ago
10

How does a layered pattern make use of abstraction and encapsulation?

Computers and Technology
1 answer:
maxonik [38]3 years ago
7 0

Answer and Explanation:

The ways in which a layered pattern make use of encapsulation and abstraction are as follows:

  • This framework lays its focus mainly on the bundling of related functionalities inside an application into different layer that are vertically stacked over one another.
  • Functionality in between each layer is related by common function or role.
  • Communication in between the layers is clear and exact and is coupled loosely.
  • Providing a layered structure to the application indirectly supports its maintainability and flexibility.

Encapsulation:

Since, features like data type, properties, methods or implementation while designing are not exposed at the boundary of the layer thus No assumptions are required for these features.

Abstraction:

The layered framework abstracts the entire system's view and provides adequate details for better understanding of the roles of each layer individually and the relation that exist between these layers.

You might be interested in
What is the current through R1?
patriot [66]
I = V/R. So the answer is 9/200 = 0.045A = 45mA which is B
8 0
3 years ago
Quality, personal attention, leadership, and respect are examples of what?
tankabanditka [31]
A good employee, everything u named is a good example of a good employee
8 0
3 years ago
Read 2 more answers
someone help me my browser is updated I don't know what to do someone help me please I'm trying to watch Crunchyroll.​
levacccp [35]

Answer: use chrome or firefox the browser app your using is one that they dont support

Explanation:

4 0
3 years ago
Read 2 more answers
Write a statement that declares a PrintWriter reference variable named output and initializes it to a reference to a newly creat
dusya [7]

Answer:

PrintWriter variable = new PrintWriter("output.txt");

Explanation:

There are two ways of declaring a reference variable in programming.

One way is

Reference Variable-name = new Reference ("some texts here");

While the other is

Reference Variable-name;

Variable-name = new Reference ("some texts here");

Both ways are valid ways of reference variable declaration.

In the question above, the reference is PrintWriter, it points to output.txt and the question says "write a single statement";

Hence, we make use of

PrintWriter variable = new PrintWriter("output.txt");

A reference variable is declared to be of a specific type and that type can never be changed.

5 0
3 years ago
The control variable of a counter-controlled loop should be declared as ________ to prevent errors. Group of answer choices int
yanalaym [24]

Answer:

int

Explanation:

<h2><u>Fill in the blanks </u></h2>

The control variable of a counter-controlled loop should be declared as  <u>int </u> to prevent errors. Group of answer choices int double float Any of the above.

7 0
3 years ago
Other questions:
  • When did the silver market drop sharply, hurting Bolivia's income?
    7·2 answers
  • Programa en C
    9·1 answer
  • Microsoft's Xbox operating system provides Xbox programmers with a set of common standards to use to access controllers, the Kin
    15·1 answer
  • A network administrator manages a network with 75 servers. At least twenty of those servers are approaching end of life but the
    8·1 answer
  • Which of these ia an example of gene flow?
    5·1 answer
  • 1. Write a program to input four numbers and store them in variables.
    6·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    11·2 answers
  • Tightly.
    5·1 answer
  • How does the autosum command calculate data? Need help ASAP​
    5·1 answer
  • Ignore this it a temporary note for me: SPSstudents
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!