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

4*10^(-3x)=18 express the solution in the base of 10
In one fishing village in Alaska, the allele frequency of webbed feet is 0.10. This dominant trait causes affected individuals to have extra skin between each o
23/100 converted to a decimal
How do you mark somebody brainliest?? I try but I don't know how. Please help me I want to be able to mark people like they mark me. Thank you.
Spanish homework help 1. Me encantan las bebidas calientes. Por la mañana no me puede faltar un___________ 2. No le pongas mucha azúcar a mi café. Solamente una
PLS ANSWER THIS QUESTION ASAP! WORTH 40 POINTS!!
1. PART A: Which statement best expresses a theme of the poem? O A Trusting someone you don't know can have dangerous consequences OB Young people are often ov
Was the U.S. justified in fighting the Vietnam War?
I need a summary of why Looney tunes is a favorite childhood cartoon. ​
Read the following passage from the Biology Department at University of California, Berkeley. Northern elephant seals have reduced genetic variation because hun