About Question enthuware.ocajp.i.v7.2.833 :
Moderators: Site Manager, fjwalraven
About Question enthuware.ocajp.i.v7.2.833 :
Last sentence in the explanation says, "...System.out.println(this.myValue);..." when the myValue variable is actually called on an object reference,ct, to the class ChangeTest. Also, this would not work in this situation because it is in the static context of main.
-
- Site Admin
- Posts: 10067
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.833 :
You are right, it should be ct.myValue. This has now been fixed.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 136 guests