File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "generics" Watch "generics" New topic
Author

generics

sweety singh
Ranch Hand

Joined: Dec 15, 2007
Posts: 49
please tell me the difference between <?> and a type variable <T>,<E>... when are they used...
thanks...
Noam Wolf
Ranch Hand

Joined: Jan 12, 2008
Posts: 35
Hi singh,

I would suggest checking out chapter 7 in Kathy Sierra and Bert Bates "SCJP" book. Your question is way too vague.

Also you might want to try Google first.


because .net guys can also write in java
sweety singh
Ranch Hand

Joined: Dec 15, 2007
Posts: 49
the book says that the question mark works when declaring a reference for a varible its does not work for generics class and method declaration.. i did not understand this...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: generics