Which Specifier Can Be Used To Inherit Protected Members As #251
Which specifier can be used to inherit protected members as protected in subclass but public as public in subclass?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Access Specifiers - OOPs MCQ: Public Access Specifier - Quiz No.2.
Which specifier can be used to inherit protected members as protected in subclass but public as public in subclass?
Private
Default
Public
Protected