Which of the following is a data structure in Java that stores elements in a linked list?
a) ArrayList
b) LinkedList
c) ArrayDeque
d) PriorityQueue
Answer: b) LinkedList
Explanation: The LinkedList class in Java is a data structure that stores elements in a linked list.