Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

can derived class access private members

Apalov answered on January 15, 2021 Popularity 8/10 Helpfulness 1/10

Contents


More Related Answers

  • how to call a private method from another class in java
  • Class access modifiers. public private protected what is it. Access Specifiers
  • Difference between Public, Private and Protected modifier in Java?
  • There are three main visibility modifiers in TypeScript. public - (default) allows access to the class member from anywhere private - only allows access to the class member from within the class protected - allows access to the class member from itself an
  • can method of subclass access private variables of superclass
  • proteced class can access can be accessed in other class
  • Instances of same class can access private members of each other
  • Does Java allow us to use private and protected modifiers for variables in interfaces?
  • . How can we access private method of a class from outside the class?
  • Java how to access private variable from another class
  • c++ public inheritance not getting protected

  • can derived class access private members

    1
    Popularity 8/10 Helpfulness 1/10 Language cpp
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 15 2021
    Apalov
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.