title: Java array of objects (each object with more than 1 element) How to change 1 element in a particular object
body: <p>Java beginner here.  I have an array of objects and need to be able to change one part of a particular object.    For example:  "A", 95 change it to "A", 96</p>
  
  <pre><code>Grade [] grades = {
      new Grade ("A", 95}, 
      new Grade ("B", 90)
  };
  </code></pre>
  
  <p>I have the Grade class with Grade constructor, gets and sets</p>
  
  <pre><code>Grade(letter, number);
  </code></pre>
  
  <p>I keep trying to code something in the main method and it tells me that I cat access get or set on an Array.</p>