This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: generics
 
Similar Threads
Stereotype Vs constraint
25% off on Certification exams
Question on Palindromes
SCEA Part 1 Voucher for Sale
SCBCD Voucher for Sale