Posted on 2006-06-13
I wrote some classes under a folder. I also have the other classes (with package declaration) in various packages under the same folder. So the structure is like:
- (default package)
My question are:
1. how can I use a variable in the MyPublicStaticVariableClass in default package from packageA?
2. what is the best way to declare global variables if I prefer to export only package level files when making executables?