Java OCA OCP Practice Question 40

Question

Which of the following may have duplicate elements?

  • A. Collection
  • B. List
  • C. Map
  • D. Set


A and B.

Note

Neither a Map nor a Set may have duplicate elements.




PreviousNext

Related