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

Katie ran 300 yards in 1 minute. At that rate how many yards could she run in 5 minutes? A. 305 yd B. 60 yd C. 1800 yd D. 1500 yd
Which sentence is punctuated correctly? A. Have you read "The Guest;" by Albert Camus, "Uncle Fred Flits By;" by P.G. Wodehouse, or "Life of Ma Parker;" by Kath
Sam wants to enlarge a triangle with sides 3, 6 and 6 inches. If the shortest side of the new triangle is 13 inches, how long will the other sides be?
Which indicator is blue in a solution that has a pH of 5.6? (1) bromcresol green (3) methyl orange (2) bromthymol blue (4) thymol blue
Which equation represents sublimation? (1) I2(s) ==> I2(g) (3) I2(l)==>I2(g) (2) I2(s) ==>I2(l) (4) I2(l)==>I2(s)
Are humans Warm-Blooded Or Cold-Blooded
An orbital is defined as a region of the most probable location of (1) an electron (3) a nucleus(2) a neutron (4) a proton
What unit is used to express the pressure of a gas?(1) mole (2) joule (3) kelvin (4) pascal
What is the solution for the gravitational pull on earth?
Which 5.0-milliliter sample of NH3 will take the shape of and completely fill a closed 100.0-milliliter container?(1) NH3(s) (3) NH3(g)(2) NH3(ℓ) (4)NH3(aq)