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
n200080 [17]
2 years ago
15

Assume your sketch has a variable named silo, which stores an object that is defined by a class you have created. The name of th

e class is Cylinder. The Cylinder class has a method named volume, which calculates the volume of a cylinder using its property values and returns the calculated value. Which line of code is the correct line to use the silo variable, calculate volume, and store that value in a new variable.
a. let v = [silo volume];
b. let v = volume(silo);
c. let v = silo.volume();
d. let v = silo[volume];
e. let v = cylinder.volume(radius, height);
Computers and Technology
1 answer:
yulyashka [42]2 years ago
7 0

Answer:

c. let v = silo.volume();

Explanation:

When you create and initialize a new object you pass through that object's class constructor. The constructor is in charge of initializing all the necessary variables for that class including radius and height. Once you save the object in a specific variable (silo) you need to call the class methods through that variable, using the '.' command. Therefore, in this scenario, in order to call the volume() method you would need to call it from the silo object and save it to the v variable, using the following statement.

let v = silo.volume();

You might be interested in
If you enter the search "genetically modified foods" in a database, the double quotes around the three words will:
In-s [12.5K]

Answer:

Have a more specified search

Explanation:

If you do this in G0OGLE Then it will be the same thing all it basically does it narrow down the search to find more of what you want

4 0
3 years ago
What is another word for microchips operating systems input methods and everything in between?
lord [1]
The answer is computer. A computer is made up of microchips (CPU and GPU), an operation system (macOS or Windows), input methods (keyboard and mouse), and other parts.
7 0
3 years ago
Why is it grey? i recently dropped it , the switch is on!
iragen [17]

Answer:

because it is what it is

7 0
3 years ago
The _______ displays the data series in separate columns side-by-side so that you can compare the relative heights of the column
k0ka [10]

Answer:

Cluster Column Charts.

Explanation:

Clustered column chart:-It displays multiple data series in separate vertical columns. Each series have the same axis labels.Clustered vertical columns thus allow direct comparison of multiple data series.When having three data series you can compare their heights also.So we conclude the answer is Cluster Column Charts.

3 0
3 years ago
Read 2 more answers
What's the best way to change the font size of all your notes pages at once?
pav-90 [236]

i think number 9 is c.

5 0
3 years ago
Other questions:
  • A flowchart would be an example of what kind of programming?
    12·1 answer
  • Can some one fix this <br> input ("Enter a number: ") <br> print (num * 8)
    9·1 answer
  • What benefit does internet have​
    11·1 answer
  • What question should you ask yourself to determine if a story is newsworthy
    11·2 answers
  • How many answer or point do I answer/need to sent message?
    6·1 answer
  • How is kerning used in Word?
    7·2 answers
  • Convert the following hexadecimal numbers to decimal numbers. (Show your work) a. 0xE3 b. 0x4A c. 0xF9
    10·1 answer
  • Our ways of communicating in society will change mostly due to: O A. our desire to be isolated. O B. a population decline. O O C
    8·1 answer
  • A pointing device used mainly for computer games is known as
    15·1 answer
  • You can use the___<br> to copy data from Excel to Access.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!