Multiple Choice
What will be printed by the statements below? ArrayList<String> names = new ArrayList<String>() ;
Names.add("Annie") ;
Names.add("Bob") ;
Names.add("Charles") ;
Names.set(2, "Doug") ;
Names.add(0, "Evelyn") ;
System.out.print (names) ;
A) [Annie, Bob, Charles, Doug, Evelyn]
B) [Evelyn, Annie, Bob, Doug]
C) [Evelyn, Doug, Charles]
D) [Evelyn, Annie, Doug, Charles]
Correct Answer:

Verified
Correct Answer:
Verified
Q15: Which one of the following is a
Q24: Which one of the following is the
Q25: What will be printed by the statements
Q26: Complete the following code snippet with the
Q27: What is the output of the following
Q28: Consider the following code snippet:<br>Int[][] arr =<br>{<br>{
Q34: What will be printed by the statements
Q49: What should you check for when calculating
Q71: When an array reading and storing input
Q107: When the order of the elements is