Assume that an ArrayList of Integers named salarySteps that contains exactly five elements has been declared and initialized.

LANGUAGE: JAVA

CHALLENGE:

Assume that an ArrayList of Integers named salarySteps that contains exactly five elements has been declared and initialized.

Write a statement that assigns the value 160000 to the last element of the ArrayList salarySteps.

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 ,