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
diamong [38]
3 years ago
11

Assume you are given an int variable named nElements and a two-dimensional array that has been created and assigned to a2d. Writ

e one or more statements that assign to nElements the total number of elements that could be stored in the entire two-dimensional array.
Physics
1 answer:
Alex777 [14]3 years ago
3 0

Answer:

Explained

Explanation:

public int dimension(int [][]a2d,int nElements)

{

int count = 0;

for(int i = 0;i < a2d.length ; i++)

{

count = count + a2d[i].length;

}

return count;

}

You might be interested in
In which does sound travel fastest? Question 8 options: solids liquids gases plasma.
Kazeer [188]

Sound travels fastest in solids. A sound is a vibration that travels in a longitudinal direction through a medium in the form of a mechanical wave.

<h3>What is sound?</h3>

A sound is a vibration that travels in a longitudinal direction through a medium in the form of a mechanical wave.

It can propagate through a solid, a liquid, or a gas as its medium. Solids go the fastest, liquids are slower, and gases are the slowest.

Sound travels the quickest through a solid because the molecules are packed together densely, allowing sound waves to leap from one molecule to the next more quickly.

Because the molecules in solids are packed the tightest, sound travels the quickest through them, whereas sound travels the slowest through gases.

To learn more about the sound refer to the link;

brainly.com/question/927975

4 0
2 years ago
Explain why water buckets are narrow at the base and wider at the top​
polet [3.4K]

Answer:

This is to optimize storage and transport.

Explanation:

4 0
2 years ago
Can Someone please help me! <br><br> What is deposition
7nadin3 [17]

Deposition is the geological process in which sediments, soil and rocks are added to a landform or landmass

7 0
2 years ago
Read 2 more answers
Which factor affects the angle of sunlight on Earth? The distance between Earth and the sun Earth's tilt from its axis The path
Rainbow [258]
Earth’s tilt from its axis.
For explanation:
The angle in which Earth is at is 23.5°. This causes its tilt which affects how the Sun’s light hits Earth

6 0
1 year ago
What is the transformation of grinding a corn in a corn mill​
Verdich [7]

Answer:

hi cute

Ur name

and country?

5 0
3 years ago
Other questions:
  • Construct a position-time graph that shows the forward progress of Sunny The Dog in a straight line for 20 meters over the cours
    14·1 answer
  • Four students measure the mass of a standard mass that has an accepted value of 150.0 g. They post their results in a table.
    15·1 answer
  • Which process is used to make low cost energy by nuclear power plant​
    13·1 answer
  • The sun is 1.5 × 108 km from Earth. The index of refraction for water is 1.349. How much longer would it take light from the sun
    5·1 answer
  • Fnet = 110 N
    14·1 answer
  • A spring with a spring constant of 2.5 N/m is stretched by 2
    7·1 answer
  • What happens to most of the light waves that strike a clear pane of glass? O A. absorption B. diffraction O C. reflection O D. t
    10·2 answers
  • Identify at least two ways in which heavy rain can affect the efficiency of
    6·1 answer
  • WAVES AND SOUND
    5·1 answer
  • What is the angular momentum at a radius of 2 m with an object of 5 kg at a<br> velocity of 20 m/s?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!