I've got a class that looks like this:
public final class C
// M A T H C O N S T A N T S
public static final float TO_RADS = 0.017453292f ;
public static final float TO_DEGS = 57.29577951f ;
public static final float PI = 3.141592654f ;
// etc ..
I was just wondering - will the VM store _all_ of the static members in memory as soon as just one of them has been used, or will it only store/load each one after that one has been used?
So, if I were to just use PI within my program, would the VM still load all of the other variables? (Seeing as I actually have a pretty large list)..