File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reference variable" Watch "Reference variable" New topic

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

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

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...
I agree. Here's the link:
subject: Reference variable
It's not a secret anymore!