Better practice in list/array initialization

后端 未结 0 451
既然无缘
既然无缘 2020-12-04 18:28

In creating a not-null empty list or array, which is advised between these two.

List newList = List();
List obstacles = List()         


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