Vidyalelo
Java Programming · Q21

Java Collections Framework

Programming · Java Programming · question 21

Q21

In Java, which method is used to add an element to a collection in the Java Collections Framework?

A.
`insert()`
B.
`put()`
C.
`add()`
Answer
D.
`append()`

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board