A manmal has a backbone, a big-cat is a-a mammal, and an ocelot is-a big-cat. What can we day about ocelots and backbones?
Answer: An ocelot has-a backbone
Doubt: Woudn't this depend on a access modifier of backbone in mammal? If it is a private access modifier, ocelot does not have a backbone.
When you're working with conceptual concepts like has-a and is-a, there is no access modifiers. This is an abstraction, not a specific code base. If we had provided specific fields and marked them private, sure, but this is just a conceptual question.