Java List T[] toArray(T[] a) implementation

后端 未结 7 1001
小蘑菇
小蘑菇 2020-12-08 02:15

I was just looking at the method defined in the List interface: T[] toArray(T[] a) , and I have a question. Why is it generic? Because of that fact, m

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