What modifier should you use on the members of a class so that they are not accessible to another class but they are accessible to any subclasses of the class
What modifier should you use on the members of a class? At the member level, you can also…