Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

passing global variables from one class to another

807597Jan 12 2005 — edited Jan 12 2005
Hi,

I�ve been trying to get my head round passing global variables, from one class to another. Yet still I can't work it out. Could someone show me "very basically" how I would go about it. If it could show the two programs in source code and the how the variable is passed from one class file to other.

Be kind I�m a n00b to java.

Thanks in advanced

slice909
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2005
Added on Jan 12 2005
6 comments
201 views