ArrayList - Java Quiz Question


What will be the output of the following program?


A
[A, Add, 256, 513, 1025, 1048576]
B
[A, Add, 256, 512.0, 1024, 1048576]
C
[A, Add, 256, 512.79, 1025, 1048576]
D
Some other output
E
Compilation Error or Runtime Error