title: pass a reference for one object to another method in another class
body: <p>How do you pass an objects reference to another method in another class?</p>
  
  <p>The goal of my program is to calculate the students GPA from a file containing their transcript. There are 3 classes involved for the part I am struggling with.</p>
  
  <p>There is the GPACalculator, which contains main. There is the transcript and course classes. the transcript class reads the file and builds a course out of it. </p>
  
  <p>So far I have the transcript class with a method to read current line of the transcript file and construct a course object out of this information.</p>
  
  <p>I now need to be able to send the course object to the main method of the gpa calculator so i can print it to the terminal window. This is where I am stuck.</p>
  
  <p>Thanks</p>