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

Instances of same class can access private members of each other

Deepika Sahu answered on December 30, 2022 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • 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
  • can derived class access private members
  • . How can we access private method of a class from outside the class?
  • Java how to access private variable from another class

  • Instances of same class can access private members of each other

    0
    Popularity 1/10 Helpfulness 1/10 Language java
    Link to this answer
    Share Copy Link
    Contributed on Dec 30 2022
    Deepika Sahu
    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.