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.
Java | Advance Java | Multiple Choice | Questions and Answers | Test Bank
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.