0
u/arshikajtp Oct 04 '24
It is Array to List example. Sorry for the inconvenience caused.
1
u/No_Strawberry_5685 Oct 04 '24
Should remove , fix (to include the better way) And repost
String[] array = list.toArray(String[]::new);
4
Oct 03 '24
[removed] — view removed comment
4
Oct 03 '24
[removed] — view removed comment
1
u/No_Strawberry_5685 Oct 04 '24
This is exactly what I thought but I was lazy to comment / correct them
1
u/Greedy-Extension1840 Oct 06 '24
Chtgpt