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
puteri [66]
3 years ago
13

What is a strictly layered pattern, provide an example of its usage.

Computers and Technology
1 answer:
Nikitich [7]3 years ago
5 0

Answer and Explanation:

A strictly layered pattern can be defined as an approach that restricts the interaction of the components in a layer in the application.

It limits the interaction of the layer components to the adjacent layers or the layer that lies just below the the layer itself.

For Example:

If the application is layered as the Fig 1. shows

Then accordingly, Layer K will interact with the layer K - 1 and Layer K - 1 will interact only with the layer K - 2 and so on.    

You might be interested in
Your ASP.NET page contains a page-level variable of Customer type. You want to preserve the value of this variable across page p
alina1380 [7]

Answer:

Option c is the correct answer for the above question.

Explanation:

View states are a mechanism that is used in c# programming language, It is used on only one page on which the user or programmer is working currently. It does not hold the records when the control goes to the other page.

The above question also wants which is described above. Hence option c is the correct answer while the other is not because:-

  • Option a states about the query string which is not any technique to hold the record.
  • Option b states about cookies which are used to hold the record of all page.
  • Option d states about the session which is used to hold any record and can be accessed on any page.
8 0
4 years ago
Write the code for the method getNewBox. The method getNewBox will return a GiftBox that has dimensions that are m times the dim
liraira [26]

Answer:

public class GiftBox{

private int length;

private int width;

private int height;

 

public GiftBox(double length, double width, double height) {

this.length = length;

this.width = width;

this.height = height;

}

 

public static GiftBox getNewBox(GiftBox giftBox, double m) {

return new GiftBox(m * giftBox.length, m * giftBox.width, m * giftBox.height);

}

 

private boolean fitsInside(GiftBox giftBox) {

if(giftBox.length < this.length && giftBox.width <this.width

&& giftBox.height < this.height) {

return true;

}

return false;

}

 

public static void main(String []args){

GiftBox giftBox = new GiftBox(3.0 , 4.0, 5.0);

GiftBox newGiftBox = getNewBox(giftBox, 0.5);

System.out.println("New Box length: " + newGiftBox.length);

System.out.println("New Box width: " + newGiftBox.width);

System.out.println("New Box height: " + newGiftBox.height);

 

GiftBox gift = new GiftBox(3.0 , 4.0, 5.0);

GiftBox other = new GiftBox(2.1 , 3.2, 4.3);

GiftBox yetAnother = new GiftBox(2.0 , 5.0, 4.0);

 

System.out.println(gift.fitsInside(other));

System.out.println(gift.fitsInside(yetAnother));

}

}

Explanation:

The getNewBox is a public method in the GiftBox class in the Java source code above. It returns the GiftBox object instance increasing or multiplying the dimensions by the value of m of type double.

3 0
3 years ago
The default ____ for a hyperlink is the folder location and the name of the file to which you will link.
ycow [4]
Title is used
hope it helps
6 0
4 years ago
Building Blocks for Web Design Reflection (5 points per question) Directions: In your own words, complete the following reflecti
Brums [2.3K]
1. html tag display located at the top of the screen of the website (its the title of the website, not the link description) its also the title of the document or application you open at the top. It is important to include this because it gives you an idea of what the article or application is about. It's also a good way to organize websites and applications for searching. 2. To call attention to the text includes bold heading, images, interesting facts or quotes that are italicized. 3. One thing I would do to change my webpage is improve the grammar because grammar allows the reader to believe the source is credible and makes a better reading flow.
6 0
3 years ago
Dereck works for long hours on his computer. He frequently experiences physical strain by the end of the day because he does not
rjkz [21]
<span>keeping hands and wrists straight while typing</span>
3 0
3 years ago
Read 2 more answers
Other questions:
  • Type the correct answer in the box.
    7·1 answer
  • Sponse that best answers the question.
    11·2 answers
  • Create a view named ItemOrder view. It consists of the TaskID, description, price, order number, order date, and quoted price fo
    8·1 answer
  • Critics of media consumption
    10·2 answers
  • Replace any alphabetic character with '_' in 2-character string passCode. Ex: If passCode is "9a", output is: 9_
    6·1 answer
  • Which kind of testing runs the system in a simulated environment using simulated data?a) validation testing. b) verification tes
    5·1 answer
  • 334. Universal Containers uses a custom field on the account object to capture the account credit status. The sales team wants t
    12·1 answer
  • The people on this platform are unbelievably nice. its almost rare to see this type of kindness online these days. Just wanted t
    14·1 answer
  • How many pages is 1500 words double spaced 12pt font?
    13·1 answer
  • Different the policies and protocols in the industry
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!