Suppose that ArrayList of Integer s named a which contains exactly five elements has been declared and initialized. Additionally, int variable j has also been declared and initialized to a value somewhere between 0 and 3.
Write down single statement which allots new value to element of ArrrayList indexed by j. This new value must be equal to twice value stored in next element of ArrayList (i.e. element after element indexed by j.