1

In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?

Correct Answer: Private

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: In order to restrict a variable of a class from inheriting to subclass, how variable should be declared? | Extra Education