You have to pass an instance of one of the classes to the other (perhaps through a parameter in the constructor or a setter method) then call a setter or a getter to get at the info you want.