Assume that an ArrayList named a containing exactly 5 Integers has been declared and initialized.

LANGUAGE: JAVA

CHALLENGE:

Assume that an ArrayList named a containing exactly 5 Integers has been declared and initialized.

Write a single statement that adds 10 to the value stored in the first element of the array.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,