title: Constructors, Setters, and Getters also helper method
body: <p>I am having a hard time understanding what a constructor is and my teacher is not very helpful.</p>
  
  <p>I have included part of my code and that is the employee class. I also have a main class too that goes with this. I don't want to include it all because I'm pretty much done with the assignment assuming I'm using constructors and don't really want to share my work.</p>
  
  <p>I was hoping someone could point out if I'm using constructors? I know it sounds silly but I just don't get what a constructor is. I'm supposed to use 3 not including the default. I wrote 2 versions of this program one with a scanner and array and one with predefined array. If I haven't used constructors please advise to what they are. If I have please point out where they are so I can see.</p>
  
  <p>I would really appreciate some help, thank you very much in advance.</p>
  
  <p>Also what is a helper method?</p>
  
  <pre><code>public class Employee{ 
  
      String firstname = ""; 
      String lastname = ""; 
      String phone = ""; 
      String address = "";
      String id = "";
      String title = "";
      String salary = "";
  
  
  
      public String getFirstname() {
          return firstname;
      }
  
      public void setFirstname(String firstname) {
          this.firstname = firstname;
      }
  
      public String getLastname() {
          return lastname;
      }
  
      public void setLastname(String lastname) {
          this.lastname = lastname;
      }
  
      public String getPhone() {
          return phone;
      }
  
      public void setPhone(String phone) {
          this.phone = phone;
      }
  
      public String getAddress() {
          return address;
      }
  
      public void setAddress(String address) {
          this.address = address;
      }
  
      public String getId() {
          return id;
      }
  
      public void setId(String id) {
          this.id = id;
      }
  
      public String getTitle() {
          return title;
      }
  
      public void setTitle(String title) {
          this.title = title;
      }
  
      public String getSalary() {
          return salary;
      }
  
      public void setSalary(String salary) {
          this.salary = salary;
      }
  
      //-----------------------------------------------------------------------           
      //ToString Method
      public String toString(){
          return "First Name:" + this.firstname +  "\n" + 
                 "Last Name:" + this.lastname + "\n" + 
                 "Phone #: " + this.phone +  "\n" +
                 "Address: " + this.address +  "\n" + 
                 "ID: " + this.id + "\n" + 
                 "Title: " + this.title + "\n" + 
                 "Salary: " + this.salary;
      }
      //-----------------------------------------------------------------------       
      //Equals method
      public boolean equals (Employee other){
          return phone.equals(other.phone);
      }
     //------------------------------------------------------------------------       
        //Methods to change 
  
      public void changePhone(String newPhone) {
          phone = newPhone;
      }
      public void changeId(String newId) {
          id = newId;
      }
      public void changeTitle(String newTitle) {
          title = newTitle;
      }
  }       
  </code></pre>