Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Interview Questions and Answers | ||||
| ||||
| Ans. public Set convertArrayToList(T array[]) { Set set = new HashSet<>(Arrays.asList(array)); return set; } | ||||