Tuesday, 27 August 2013

What is the difference between adding to the argument and not adding it?

What is the difference between adding to the argument and not adding it?

Lets say I have the class :
class Box<T>{}
Now what is the difference between :
public myMethod(Box box){};
and
public myMethod(Box<?> box){};

No comments:

Post a Comment