0 votes
in JAVA by

Which method is used to remove an element from an ArrayList in Java?

a) remove()

b) removeFirst()

c) removeLast()

d) pop()

1 Answer

0 votes
by

Answer: a) remove()

Explanation: The remove() method is used to remove an element from an ArrayList in Java.

Related questions

0 votes
asked May 5 in JAVA by sharadyadav1986
0 votes
asked May 7 in JAVA by SakshiSharma
...