How do you declare a generic method called Test that takes one parameter which must be a value type? code example
Example: generic argument java
static void fromArrayToCollection(Object[] a, Collection<?> c) {
for (Object o : a) {
c.add(o); // compile-time error
}
}