title: Java call method in Main class
body: <p>Let's say I have <code>Main</code> class, and it has an instance of class <code>A</code>.</p>
  
  <p>How can I call a method in <code>Main</code> class within class <code>A</code> ?</p>
  
  <p>Thanks!</p>