I am a C++ programmer, but i am required to prepare a presentaion about Generics in Java
I need someone to explain this function:
public static <T> T do_something(T [ ] list)
{
…
}
Please show what every part indicates;
<T> indicates: .....
T indicates : .....
...... and so on.....
If, possible, tell me what wildcards mean in Java...
Thanks in advance ;) :D