mackenziemackley
mackenziemackley mackenziemackley
  • 02-11-2016
  • Computers and Technology
contestada

Write a program to add a set of students' names into an Arraylist and print it in the order they are inserted.

Respuesta :

kingburrito
kingburrito kingburrito
  • 03-11-2016
for ( int i = 0; i < names.size(); i++ ) {
System.out.println(Arrays.toString(names));
}
This should do the trick if youre in java. Its easy to convert to another language contact me for help :)
Answer Link

Otras preguntas

Graph the functions and approximate an x-value in which the exponential function surpasses the polynomial function. f(x) = 4x g(x) = 4x2 The 2 in the 2nd equat
PLZ HELP ME RIGHT NOW! Type the correct answer in each box.
A summary of the beginning of massai
A battery has an emf of 15.0 V. The terminal voltage of the battery is 12.2 V when it is delivering 26.0 W of power to an external load resistor R. (a) What is
Choose the correct answer. Poetry is similar to ________, because it has rhythm, pace, and sounds that work together. A)    music B)    newspaper articles C)
The change from one number to the next in a geometric sequence is called the: A. common difference. B. arithmetic difference. C. common ratio. D. geometric rati
What is the area of the parallelogram?
You are the CEO of a company that has to choose between making a $100 million investment in either Russia or Poland. Both investments promise the same long-run
Columbia,South Carolina, is located at 34degrees north latitude. Use the equation to estimate the average annual snowfall for Columbia.
Earthshine is illumination seen during which phase of the moon?