What is Protected access

Protected access: Protected access is accessible to a class member prefixed with protected access modifier. This member is accessible to all classes stated within the enclosing package, and any sub-classes expanding the enclosing class.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.