File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Reference variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reference variable" Watch "Reference variable" New topic
Author

Reference variable

Sathya Shanmugam
Ranch Hand

Joined: Mar 02, 2007
Posts: 45
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

Joined: Aug 31, 2004
Posts: 11343

Try this Sun tutorial on Generics.


"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
Jeff Mayer
Greenhorn

Joined: Mar 21, 2007
Posts: 9
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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reference variable