Page 1 of 1

About Question enthuware.ocpjp.v7.2.1105 :

Posted: Sat Jul 25, 2015 1:49 pm
by gk_javauser
In the explanation, shouldn't it have the class type?

Current:
private static final theInstance = new SpeedSensor(); //Create one object of the class

My understanding:
private static final SpeedSensor theInstance = new SpeedSensor(); //Create one object of the class

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

Posted: Sat Jul 25, 2015 9:51 pm
by admin
Yes. The variable type is missing. Fixed.
thank you for your feedback!