Posts by felipexy3229 • 9 points
1 post
-
0
votes4
answers635
viewsA: Why can objects other than the same class access private fields from each other?
Friend, in your example, as I understand it, what Mary is thinking is what Mary knows, her information, her attributes. If such attributes are private, for John to know what Mary is thinking it is…