Java OCA OCP Practice Question 21

Question

Can a null value be added to a List?

  • A. Yes.
  • B. Yes, but only if the List is linked.
  • C. Yes, provided that the List is non-empty.
  • D. No.


A.

Note

Yes, a null value may be added to any List.




PreviousNext

Related