I'm in the process of learning Java and trying to use OOP style programming. The problem I'm having is that when I attempt to call a getter method in one class, for another class, it only works within the method that I create an object in and I'm calling from. My question is: Is it possible to call a getter from multiple methods in a different class than the getter method class? If so, how do I go about it?
Thanks!