![]() |
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:
Sir, who prevents you defining two public classes in two different .java files and then share the static variables. I think you misunderstood my posting. So, define two public classes in two compilation unit and then you can use a static varibles value stored in one public class in another. Thanks Replies: |
Sponsored Links
|