A
a
For Collection interface, the declaration of toArray() is:
<T> T[] toArray(T[] a);
Why do we have <T> at the start of the method declaration?
Thanks a lot
<T> T[] toArray(T[] a);
Why do we have <T> at the start of the method declaration?
Thanks a lot