Yes, I was reading about getters and setters and the point that I got is that one can access private members of a class from outside of a class by using getters and setters,
Only Ant can use Bat, Bat doesn't exist outside of Ant because it's private. Ant can use Bat objects and access data members the same way you can access data members from an Ant object in a function.