Which of these access specifiers will make an instance varia

Which of these access specifiers will make an instance variable visible to any subclass in any package? Select all that apply. Clarification: You have the superclass in the package A, and the subclass in the package B. private protected default public

Solution

Answer : protected

Explanation :

Access modifiers say aloud which program, not which instance, may access features.

Methods and variables are together known as members. Method and uneven member are given access organize in accurately the same way.

 Which of these access specifiers will make an instance variable visible to any subclass in any package? Select all that apply. Clarification: You have the supe

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site