what is the difference between Class<? extends T> and Class<? extends ?> in JAVA? : I was going through the some legacy code in my application and I found uses of JAVA  generics. I am not clear about how and when to use these generics.