title: How to set a value equal to one variable for another instance variable
body: <p>Given the following declaration:</p>
  
  <pre><code>class Student {
      private double GPA;
      private String name;
      Student s = new Student();
      public void setGPA(double GPA) {
          this.GPA = GPA;
      }enter code here
      public double getGPA() {
          return GPA;
      }
  }
  </code></pre>
  
  <p>Question: Assuming that s is an instance (object) of the class Student, what is the statement to assign 3.5 to the GPA for s?</p>