I have two classes: Controller and Viewer . They seem to be related. Can you explain this post in more detail? It is not very clear what it is and what they eat, I read the theory about classes and about this .
class Controller { Controller(Viewer viewer) { this.viewer = viewer; } } class Viewer { Controller controller = new Controller(this); }