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

What is the dog actually doing I want to know how to say this in Spanish and also know what the dog is doing.
PLEASE HELP ME THIS IS DUE TODAY WILL GIVE BRAINLIEST IF RIGHT Write an 500+ word essay about one of these topics What is the most challenging assignment/task y
a pizza has a diameter of 16 inches what is the area of the pizza leave answer in terms of pie
Number 3 choicesA. CourtshipB. DatingC. MarriageD. Engagement4. Which of the following best describes dating?A. A way to know more about new acquaintancesB. A m
What are used in the overall reactions for photosynthesis?
Write a story problem to go with the multiplication problem 4 x 2/3 then solve the problem.
On his lunch break, Tony buys a piece of pizza and a salad. The total purchase is $10.08. The salad cost $4.56. Which equation could be used to find the cost o
Which of the organic molecules are commonly used for energy storage?.
The sum of 2 numbers is 17 and their difference is 29 what are the two numbers​
Which of the following equations has infinitely many real solutions? A. 5(x − 8) = 5x − 40 B. 5x + 1 = x − 1 C. 5x + 1 = 5x − 1 D. 5(x − 8) = 5x + 40