We cannot access a private variable of a class from an object, which is created outside the class, but it is possible to access when the same object is created inside the cl
You are maybe confusing object and class, public/private/protected/internal affect class visibility not object visibility. That means an object of a class can access attributes of another object of the same class, even if they are private.
I am not sure I understood your question correctly...