ArrayList Vs LinkedList - Java Quiz Question


Which of the following is incorrect?

X: ArrayList is a re-sizable. The size of the ArrayList can be increased dynamically. Also operations like add, remove and get can be called even after the object is created.
Y: LinkedList also implements Queue interface and provides FIFO (First In First Out) operations. It is faster than ArrayList while inserting and deleting elements from the middle of the list.


A
X only
B
Y only
C
Both are correct
D
Both are incorrect