Timeline for Proper use of class constants
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2020 at 8:34 | comment | added | Ed Randall |
Surely ABOVE and BELOW are class, not instance constants, similar to static variables in a Java class. Therefore they should be referenced as such, and MyClass.ABOVE is correct.
|
|
Mar 6, 2014 at 20:46 | vote | accept | Thomas Johnson | ||
Mar 6, 2014 at 20:16 | history | answered | Simon Minshall | CC BY-SA 3.0 |