About Question enthuware.ocpjp.v7.2.1230 :
Posted: Mon Mar 21, 2016 10:51 pm
I don't understand this:
I can only use final variables in switches? Compile time final variables is just a final variable declared commonly?FYI : case labels must be compile time constants. Thus, you cannot use non-final variable names as labels. Only compile time final variables can be used.