Thank you very much Marc ,
It means , there are two flavor of generic method :
public void m(List<String> listOfString) { ......... }
In this case , a paramaterized String list or a non paramerized list can be passed in the method ...
public <T extends MyClass> void m(T t) { ......... }
In this case , any object of MyClass or its subclass can be passed into this method ...
Is everything right ???
please reply ..
Thanks a lot
public <T> void m(T t) { .. }
public <T extends Object> void m(T t) { .. }
This two method are equivalent ..
Am I right ?