| Author |
newbie question - generics
|
Sharon whipple
Ranch Hand
Joined: Jul 31, 2003
Posts: 294
|
|
Hi all
Can someone please refresh my memory, what is the difference between writing:
List<Class> classes = new ArrayList<Class>();
Or:
List<Class<?>> classes = new ArrayList<Class<?>>();
Thank you
|
 |
Sebastian Janisch
Ranch Hand
Joined: Feb 23, 2009
Posts: 1183
|
|
|
Should be the same . Class<?> is parameterless just as Class.
|
JDBCSupport - An easy to use, light-weight JDBC framework -
|
 |
 |
|
|
subject: newbie question - generics
|
|
|