If you have declared an Array List of Strings named my Strings, which of the following is

Question:

If you have declared an Array List of Strings named my Strings, which of the following is not a legal method call?
a. MyStrings.add("onion");
b. MyStrings.remove("onion");
c. Int s = myStrings.size();
d. MyStrings.add(0, "leek");

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: