Answered You can hire a professional tutor to get the answer.

QUESTION

ArrayListString names = new ArrayListString(); names.add("Annie"); names.add("Bob"); names.add("Charles"); for (int i = 0; i 3; i++) { String...

ArrayList<String> names = new ArrayList<String>();

names.add("Annie");

names.add("Bob");

names.add("Charles");

for (int i = 0; i < 3; i++)

{

String extra = names.get(i);

names.add (extra);

}

System.out.print (names);

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question