0 votes
in JAVA by

Which method is used to add an element to the end of an ArrayList in Java?

a) add()

b) addFirst()

c) addLast()

d) push()

1 Answer

0 votes
by

Answer: a) add()

Explanation: The add() method is used to add an element to the end of an ArrayList in Java.

Related questions

0 votes
asked May 9 in JAVA by rahuljain1
0 votes
asked May 7 in JAVA by SakshiSharma
...