title: Completely lost, help please on setters and getters
body: <p>Okay so the main method was given to me in my book. I just have to work with setters and getters, and create a determineTypeOfStudent method. The goal is to display their name, age, and then the grade they are probably in.</p>
  
  <p>The errors that appear are as following:</p>
  
  <pre><code>System.out.println("Age ", + student1.getAge());
  </code></pre>
  
  <p>It says no suitable  method found for println(String,int) followed by a paragraph of things saying "not applicable"</p>
  
  <pre><code>System.out.println("Type of Student: " + student1.determineTypeOfStudent());
  </code></pre>
  
  <p>This one says "method determineTypeOfStudent in class Student cannot be applied to given types;
  required: int
  found: non arguments
  reason: actual and formal argument lists differ in lenght</p>
  
  <p>surround with ...</p>
  
  <h2>introduce ...</h2>
  
  <p>Then these two:</p>
  
  <pre><code>System.out.println("Type of Student: " + student2.determineTypeOfStudent());
  
  System.out.println("Type of Student: " + student1.determineTypeOfStudent());
  </code></pre>
  
  <p>Who are the same as the previous. </p>
  
  <p>I'm pretty new to this stuff, so I'd appreciate it if you guys corrected me and gave me an explanation thanks.</p>
  
  <pre><code>public class StudentClient {
  
  public static void main(String[] args) {
      Student student1 = new Student("Bob", 15);
      Student student2 = new Student("Jan", 13);
  
      System.out.println("Name: " + student1.getName());
      System.out.println("Age ", + student1.getAge());
      System.out.println("Type of Student: " + student1.determineTypeOfStudent());
  
      System.out.println("\n" + student2.fullString());
      System.out.println("Type of Student: " + student2.determineTypeOfStudent());
  
      student1.setName("Ted");
      student1.setAge(35);
  
      System.out.println("\n" + student1.fullString());
      System.out.println("Type of Student: " + student1.determineTypeOfStudent());
  }
  </code></pre>
  
  <p>-------CLASS FILE-----------</p>
  
  <pre><code>public class Student {
  private String studentName;
  private int studentAge;
  
  public Student(String newName, int newAge) {
      setName(newName);
      setAge(newAge);
  }
  
  public void setName(String newName) {
      studentName = newName;
  }
  
  public String getName() {
      return studentName;
  }
  
  public void setAge(int newAge) {
      if (newAge &gt; 0) {
          studentAge = newAge;
      } else {
          System.out.println("Age cannot be less than zero");
      }
  }       
  
  public int getAge() {
      return studentAge;    
  }
  
  public String fullString() {
      return (studentName + studentAge);
  }
  
  public static String determineTypeOfStudent(int studentAge){
      if (studentAge &gt; 0 || studentAge &lt;= 4)
          return "Preschool";
      else if (studentAge == 5)
          return "Kindergarten";
      else if (studentAge &gt;= 6 || studentAge &lt;= 10)
          return "Elementary School";
      else if (studentAge &gt;= 11 || studentAge &lt;= 13)
          return "Middle School";
      else if (studentAge &gt;= 14 || studentAge &lt;= 17)
          return "High School";
      else if (studentAge &gt;= 18)
          return "College";
  
      else
          return "Invalid";
  }
  
  }
  </code></pre>