GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes confused about generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "confused about generics" Watch "confused about generics" New topic
Author

confused about generics

Scott Sorensen
Greenhorn

Joined: Mar 02, 2006
Posts: 3
well to be honest i just dont understand what they are or why u need them,,could anyone give a simple example of why u would want to use generics?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Hi Scott, welcome to JavaRanch!

See if this Sun article on Generics helps answer your question.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
There is also the Generics Tutorial that might be helpful.

Layne


Java API Documentation
The Java Tutorial
 
GeeCON Prague 2014
 
subject: confused about generics