• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reference variable

 
Sathya Shanmugam
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the term generic reference variable. I know reference var but what is generic, could anyone pls give some example... :roll:
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this Sun tutorial on Generics.
 
Jeff Mayer
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sathya Shanmugam:
what is the term generic reference variable.

Well, it depends on the context.

A reference variable of type Object, for example, can be considered a generic reference variable, since it can be used to reference any kind of object.

Or, in another context, it may be related to Generics...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic