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
Lana71 [14]
3 years ago
15

Write a Box class whose init method takes three parameters and uses them to initialize the private length, width and height data

members of a Box. It should also have a method named volume that returns the volume of the Box. It should have get methods named get_length, get_width, and get_height.
Computers and Technology
1 answer:
lord [1]3 years ago
8 0

Answer:

Answered below

Explanation:

//Program is written in Java programming //language

Class Box{

private double length;

private double width;

private double height;

Box(double len, double wid, double hgt){

length = len;

width = wid;

height = hgt;

}

public double volumeOfBox( ){

double volume = length * width * height;

return volume;

}

public double getLength( ){

return length;

}

public double getWidth( ){

return width;

}

public double getHeight( ){

return height;

}

}

You might be interested in
In which type of referencing do you get a warning message? Explain why.​
Art [367]

Answer:

These are the problems that are not severe enough to prevent processing. They mainly complain about the previous version of your document. In the case of command invalid, the latex gives a warning and henceforth it needs to be fixed.

Explanation:

There are some bugs in which they are not that severe that make the system not process.. but they are still mistakes in which might affect how the program run those parts.. like in JavaScript in the program i use, the minor bugs are like symbolized as yellow triangle and they are normally like signalizing a grammar error in the code and the app still runs but just that part of the code is invalid or reads wrong.. while big errors like codes that dont make sense, those make a red squareish that as soon as you try to run the program the debug console states in all red "Line 50(or whatever line) SyntaxError" or other things

5 0
3 years ago
Which type of software is primarily used to organize a collection of information for easy access?Which type of software is prima
MaRussiya [10]

Answer:

database - you could also use a spreadsheet but you can't ask questions that you can with a database

Explanation:

8 0
4 years ago
You are asked by your supervisor to export NPS configuaration from a server. Your supervisor contacts you and tells you it is mi
Vesna [10]

Answer:

You must import the NPS configurations, then manually cnfigure the SQL Server Logging on the target machine.

Explanation:

The SQL Server Logging settings are not in anyway exported. If the SQL Server Logging was designed on the root machine, the a manually configure of SQL Server Logging has to be done on the target machine after the NPS configurations must have been imported.

Although administrator rights is needed at least to import and export NPS settings and configurations, while that isn’t the issue in this case. NPS configurations are moved to a XML file that is non-encrypted by default. There is no wizard or tool whatsoever to export or import the configuration files.

3 0
3 years ago
Consider the following instructions carefully. What is wrong? Drive to the store Pay the cashier Select your purchases Drive hom
Levart [38]

Answer:

The correct answer is: The instructions are not correctly ordered.

Explanation:

The instructions are not correctly ordered because to pay the cashier, you first have to select your purchases.

The correct order for the instructions:

  • Drive to the store.
  • Select your purchases.
  • Pay the cashier.
  • Drive home.
7 0
3 years ago
Is Brittianica a reliable site for information? Why or why not?
kotykmax [81]

it is a reliable source since it is used around the world by many scholars.

3 0
3 years ago
Other questions:
  • In which of the following situations will a macro make your work more efficient?
    7·1 answer
  • You use worksheets to perform calculations. How do you perform these calculations? ______ are used for performing calculations i
    12·2 answers
  • Both k-means and k-medoids algorithms can perform effective clustering. (a)Explain the strength and weakness of k-means in compa
    5·1 answer
  • Which of the threats discussed in this chapter should receive Charlie’s attention early in his planning process?Ethical Decision
    10·1 answer
  • The easiest way to run a web page that’s already in your browser after you’ve made changes to the code for the page is to
    6·1 answer
  • Why are some geo satellites not usually used for transmitting tcp/ip information?
    5·1 answer
  • Through the use of computational thinking techniques, models and algorithms can be created. A(n) ___1___ can be created that rep
    12·2 answers
  • Select the correct answer.
    10·2 answers
  • Please help will give brainliest
    12·1 answer
  • I just need the flowchart and pseudocode.No need program.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!