Suppose ArrayList x contains two strings [Beijing, Singapore]. Which of the following method will cause the list to become [Beijing]?

a. x.remove("Singapore")
b. x.remove(0)
c. x.remove(1)
d. x.remove(2)

ac

Computer Science & Information Technology

You might also like to view...

PowerPoint's ________ command adjusts the height of the rows in a table so they are all equal

A) Format Rows B) Even Rows C) Distribute Rows D) Size Rows

Computer Science & Information Technology

The ____ rules of a programming language tell you which statements are legal, or accepted by the programming language.

A. semantic B. logical C. syntax D. grammatical

Computer Science & Information Technology