title: Calling a double array with parameters from field as method
body: <p>disclaimer: Sorry if I used the terms incorrectly. It would be great if you could provide the correct terms (if I used them incorrectly!)</p>
  
  <p>This is my class with the field and constructor:</p>
  
  <pre><code>double[] studentMathScores = {81.5,89.0,45.5,99.0,55.0,34.5,56.0,78.0,76.0,80.0};   
  public StudentDashboard(double[] studentMathScores) 
      {
          this.studentMathScores = studentMathScores;
      }
  </code></pre>
  
  <p>How do I declare an object in my main class using studentMathScores?</p>
  
  <pre><code>StudentDashboard test = new StudentDashboard(studentMathScores);
  </code></pre>
  
  <p>`</p>