What is the output of the following code?
```
import java.util.*;
public class Test {
public static void main(String[] args) {
List
list1.add("Atlanta");
list1.add("Macon");
list1.add("Savanna");
List
list2.add("Atlanta");
list2.add("Macon");
list2.add("Savanna");
List
list3.add("Macon");
list3.add("Savanna");
list3.add("Atlanta");
System.out.println(list1.equals(list2) + " " + list1.equals(list3));
}
}```
a. true true
b. true false
c. false false
d. false true
b
You might also like to view...
True or False? The animation_assets folder used to enable the Animate composition is uploaded automatically when you upload your site.
What will be an ideal response?
What is the process for creating an InDesign library?
What will be an ideal response?
Options to change the style of an Action Button, such as its fill and outline color, are located on the ________ tab in the Shape Styles group
A) Insert B) Design C) Review D) Format
Which of the following would likely be the MOST cost-effective media to use for storing 8GB of data?
A. DVD RW B. CD-ROM C. Tape backup D. DVD+R DL