Which method is used to add an element to the end of an ArrayList in Java?
a) add()
b) addFirst()
c) addLast()
d) push()
Answer: a) add()
Explanation: The add() method is used to add an element to the end of an ArrayList in Java.