Given the code fragment: What is the result?
A.
[green, red, cyan, yellow]
B.
Am IndexOutOfBoundsException is thrown at runtime
C.
[green, blue, yellow, cyan]
D.
[green, red, yellow, cyan]
Given the code fragment: What is the result?
A.
[green, red, cyan, yellow]
B.
Am IndexOutOfBoundsException is thrown at runtime
C.
[green, blue, yellow, cyan]
D.
[green, red, yellow, cyan]
C
D, blue is removed, yellow goes to 2, cyun is add at three (end in tis case).
d
d
d