J
John Leonard
I'm working on a program where I want the string constants "white" and
"black" to have pre-determined global values. In C I would have just used a
#define statement like:
#define WHITE 0
#define BLACK 1
What is the appropriate way to achieve the same effect in Java?
John Leonard
"black" to have pre-determined global values. In C I would have just used a
#define statement like:
#define WHITE 0
#define BLACK 1
What is the appropriate way to achieve the same effect in Java?
John Leonard