Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Is it possible to Compare golbalized variables.. ie use them in If/Else Statements?? for example i have globalized some variables using the flowing class class Global
if(Global.name1==Global.name2) Where Global.name1 and Global.name2 were defined in two other totally seperate classes as " Global.name1 = "hello"; and note that they are the same strings.. they have the same value Replies:
|
Sponsored Links
|