Given the code fragment:
What is the output?
The compilation fails.
[-1, -2, -3]
[-3, -2, -1]
A runtime exception is thrown.
Submit