Question: The modifiers (such as private, protect, etc.) in Java can be used to restrict the usages of declared variables and methods, Which of the following
The modifiers (such as private, protect, etc.) in Java can be used to restrict the usages of declared variables and methods, Which of the following three pillars of OOP: inheritance, encapsulation, and polymorphism do modifiers support? Name all the modifiers in Java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
