InterviewSolution
Saved Bookmarks
| 1. |
Which of these methods can convert an object into a List?(a) SetList()(b) ConvertList()(c) singletonList()(d) CopyList()The question was posed to me in an online interview.Asked question is from Collection Algorithms in section java.util – The Collections Framework of Java |
|
Answer» The CORRECT OPTION is (c) singletonList() |
|