• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confused about generics

 
Scott Sorensen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Scott, welcome to JavaRanch!

See if this Sun article on Generics helps answer your question.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is also the Generics Tutorial that might be helpful.

Layne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic