The output from the following code is __________.

```
java.util.ArrayList list = new java.util.ArrayList();
list.add("New York");
java.util.ArrayList list1 = list;
list.add("Atlanta");
list1.add("Dallas");
System.out.println(list1);
```
a. [New York]
b. [New York, Atlanta]
c. [New York, Atlanta, Dallas]
d. [New York, Dallas]

c. [New York, Atlanta, Dallas]

Computer Science & Information Technology

You might also like to view...

A resizing handle, indicated by faint dots on the outside border of a selected chart, enables you to adjust the size of the chart

Indicate whether the statement is true or false

Computer Science & Information Technology

Each ____ in an array contains a value.

A. index B. script C. element D. keyset

Computer Science & Information Technology