In Order To Restrict A Variable Of A Class From Inheriting To #340
In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?
This multiple choice question (MCQ) is related to the book/course
gs gs128 Java.
It can also be found in
gs gs128 Java Inheritance - Java Inheritance - Quiz No.1.
In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?
Protected
Private
Public
Static