我正在撰写一个接口及其实施。 接口方法类似
doSomething(String[] strs, Integer[] ints, String msg);
I declared parameters as arrays simply because it will call to an external interface having similar arguments. Some people suggest that doSomething agruments should be util List instead of arrays. But I couldn t find any best practice explains the reason reason why util List is preferable?
Loc