Page 1 of 1

About Question enthuware.ocpjp.v7.2.1230 :

Posted: Mon Mar 21, 2016 10:51 pm
by ThufirHawat
I don't understand this:
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.
I can only use final variables in switches? Compile time final variables is just a final variable declared commonly?

Re: About Question enthuware.ocpjp.v7.2.1230 :

Posted: Mon Mar 21, 2016 11:41 pm
by admin
Yes, that is correct.

Re: About Question enthuware.ocpjp.v7.2.1230 :

Posted: Tue Mar 22, 2016 9:16 am
by ThufirHawat
Thanks!