aspose 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 Java 8 in Action this week in the Java 8 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
Similar Threads
Stereotype Vs constraint
SCBCD Voucher for Sale
25% off on Certification exams
SCEA Part 1 Voucher for Sale
Question on Palindromes