Lintor466 Lintor466
  • 06-12-2019
  • Computers and Technology
contestada

Assume that the following array has been defined, though you do not necessarily know its length. int[] numbers = new int[??]; What expression should be used:/

Respuesta :

ijeggs
ijeggs ijeggs
  • 06-12-2019

Answer:

int array_length;

int [ ] numbers  = new int[array_length];

Explanation:

Since you do not know the length of the, it is important that you declare and provide a variable of type integer, so you can request the user to input the length of the array

Answer Link

Otras preguntas

Which shows a way to take apart 7?
What is eutrophication? What can speed it up?
An analogy often helps to A. identify key themes in an allegory by establishing a symbolic framework. B. define an unknown word when presented in the context of
Which of these would be the BEST topic for a narrative essay? A. my interpretation of the life story of Thomas Jefferson B. what happened when I first saw th
Within an internal combustion engine, the can-shaped component that moves up and down the cylinder and is the main moving part in the engine is the A. connectin
500 meters and angle of depression of 40 degrees. Determine the submarine depth under water?
In the situation shown below, the safe is 5 meters off the ground. How much rope is lying on the ground?
How to solve this: What fraction of a clockwise revolution does the hour hand of a clock turn through, when it goes from: 1) 12 'o clock to 6 'o clock 2) 3 'o
Actions like the signing of Executive Order 9066 and the internment of Japanese Americans were most likely a result of
What kind of animal tissue functions in the support and linking of other tissues