Discuss:
Do you think the data field (side) should be declared private (hidden)? Why?
If the data field is declared private (hidden), how the data field can be accessed from outside the class (for example, from the Test class)?
The new UML class diagram should include the getter and setter methods which deal with the data field side.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here