Suppose list list1 is [1, 2, 5] and list list2 is [2, 3, 6]. After list1.addAll(list2), list1 is __________.

a. [1, 2, 2, 3, 5, 6]
b. [1, 2, 3, 5, 6]
c. [1, 5]
d. [2]

a

Computer Science & Information Technology

You might also like to view...

Suppose sum and num are int variables, and the input is 18 25 61 6 -1. What is the output of the following code?sum = 0;cin >> num;while (num != -1){  sum = sum + num;  cin >> num;}cout

A. 92 B. 109 C. 110 D. 119

Computer Science & Information Technology

A(n) ____________________ network uses radio frequency (RF) waves to enable networked devices to communicate with each other.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology