File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "generics" Watch "generics" New topic


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...
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:
subject: generics