An elegant way of initialising an empty String array in Java

后端 未结 2 2024
难免孤独
难免孤独 2021-01-17 07:46

In the current code base that I\'m working on I find myself needing to initialise many empty String[] of different lengths.

As of now, they are always initialised in

2条回答
提交回复
热议问题