Given the following code segment:Public class Square{ ...private int side; ...}Which of the following is true?

Given the following code segment:Public class Square{ ...private int side; ...}Which of the following is true?



Answer: Access to side is only allowed through a method in the Square class.


Learn More :