How do you access a private field from a subclass in Java?
You cannot directly access a private field from a subclass. You must use a public or protected method to access it.
Exactly! A subclass cannot access private fields directly, but can use getters or setters.
How would you access private fields from a superclass in the subclass?