title: When I add toString method it shows me an error message
body: <p>When I add the toString method, my code shows me this message:</p>
  
  <blockquote>
    <p>Error message: cannot create method implementation, Reasone
    JavaVirtualMachien is not in build path</p>
  </blockquote>
  
  <p>While I have JavaVirtualMachiens and I have been use toString in my previous projects. How can I solve it?</p>
  
  <pre><code>public class Student {
  
      private int id; 
      private String name;
      private Double Gpa;
  
      public Student(int id, String name, double gpa) {
          super();
          this.id = id;
          this.name = name;
          Gpa = gpa;
      }
      public int getId() {
          return id;
      }
      public void setId(int id) {
          this.id = id;
      }
      public String getName() {
          return name;
      }
      public void setName(String name) {
          this.name = name;
      }
      public Double getGpa() {
          return Gpa;
      }
      public void setGpa(Double gpa) {
          Gpa = gpa;
      }
  
  }
  </code></pre>