See CodeGym Articles (and the Video) for Setting and and Getting data values
https://codegym.cc/groups/posts/getters-and-setters
> When you see a Topic that is _new_ check out the Articles inside CodeGym. Also their are great Videos.
When data is "private" in the class (the blueprint) -- how can it be accessed and modified ?
hey I just wanted to check how the assignments are getting validated. Do we have access to unit test cases so that we can understand them more clearly?
NOTE: No need to output in main method.
* If a method is declared with the keyword "static", then to access the class variable, you must use "Classname.variableName".
* If a method is NOT declared with the keyword "static", then to access the class variable, you must use the special keyword "this", i.e. "this.variableName".
Yeah... I have some Java experience through my college course, but this is just going to go way over the heads of most people just starting this course. Why is Object Oriented Programming in this early?
GO TO FULL VERSION