Confusedly about the following "generics" code
I cannot fully understand the following statement.
<T> T[] toArray( T[] a );
Although I understand that the above statement is a declaration of a function that should be able to receive and return an array of objects of type T ... I do not understand why
1 - Two T not surrounded <>
2 - There seem to be two return types, as in <T> and T[]
+6