List.of and List.copyOf methods

前端 未结 0 1651
野趣味
野趣味 2020-11-29 08:04

I understand that List.of and List.copyOf create immutable clone lists of the original list, so in my understanding, the below code should print [1], [1, 2] when it actually

相关标签:
回答
  • 消灭零回复
提交回复
热议问题