title: Unable to correcty call a void function in Java to output to the console
body: <p>I have the following class written in the Employee.java script:</p>
  <pre><code>public class Employee {
      //***************************************************************
      //
      //  Developer:         Erin
      //
      //  Program #:         3
      //
      //  File Name:         Program3.java
      //
      //  Course:            Object-Oriented Programming - Java 
      //
      //  Due Date:          
      //
      //  Instructor:        Prof. Fred
      //
      //  Chapter:           3
      //
      //  Description:
      //  Program creates an Employee class that includes three (3) private instances:
          //   1) first name (String)
          //   2) last name (String)
      //   3) monthly salary (double)
      //  Program provides:
      //   a) a constructor that initializes instance variables
      //   b) set and get methods for each instance variable
      //   c) test app named EmployeeTest that demonstrates Employee class capabilities
      //   d) two (2) Employee objs, from which obj's yearly salary is displayed
      //   e) display of 20% raise for each Employee;s yearly salary
      //
      //***************************************************************
              private String _first_name;
              private String _last_name;
              private double _monthly_salary;
  
              public Employee(String first_name, String last_name, double monthlySalary)
              {
                 setFirstName(first_name);
                 setLastName(last_name);
                  setMonthlySalary(monthlySalary);
              }
             
              public String getFirstName()
              {
                  return _first_name;
              }
              public void setFirstName(String first_name)
              {
                  _first_name = first_name;
              }
             
              public String getLastName()
              {
                  return _last_name;
              }
             
              public void setLastName(String lastName)
              {
                  _last_name =lastName;
              }
             
              public double getMonthlySalary()
              {
                  return _monthly_salary;
              }
             
              public void setMonthlySalary(double monthlySalary)
              {
                  if(monthlySalary &lt; 0.0)
                  {
                      monthlySalary = 0.0;
                  }
                 
                  _monthly_salary = monthlySalary;
              }
      //***************************************************************
      //
      //  Method:       developerInfo
      // 
      //  Description:  The developer information method of the program
      //
      //  Parameters:   None
      //
      //  Returns:      N/A 
      //
      //**************************************************************
      public void developerInfo()
      {
         System.out.println(&quot;Name:    Erin&quot;);
         System.out.println(&quot;Course:  Object-Oriented Programming&quot;);
         System.out.println(&quot;Program: Three \n&quot;);
      }
  }
  </code></pre>
  <p>With the corresponding test class written in a separate script called EmployeeTest.java:</p>
  <pre><code>public class EmployeeTest {
      public static void main(String[] args) {
          
          **developerInfo();**
          
          Employee employee1 = new Employee(&quot;John&quot;, &quot;Doe&quot;, 2875.00);
          Employee employee2 = new Employee(&quot;Jane&quot;, &quot;Doe&quot;, 3150.00);
  
          System.out.printf(&quot;%s %n&quot;, &quot;Before 20% raise:&quot;);
          System.out.printf( &quot;Employee 1: %s %s; Yearly Salary: $%.2f\n&quot;,
                  employee1.getFirstName(), employee1.getLastName(),
                  12 * employee1.getMonthlySalary() );
          System.out.printf( &quot;Employee 2: %s %s; Yearly Salary: $%.2f\n&quot;,
                  employee2.getFirstName(), employee2.getLastName(),
                  12 * employee2.getMonthlySalary() );
          
          employee1.setMonthlySalary(employee1.getMonthlySalary() * 1.2);
          employee2.setMonthlySalary(employee2.getMonthlySalary() * 1.2);
  
          System.out.printf(&quot;%s %n&quot;, &quot;After 20% raise:&quot;);
          System.out.printf( &quot;Employee 1: %s %s; Yearly Salary: $%.2f\n&quot;,
                  employee1.getFirstName(), employee1.getLastName(),
                  12 * employee1.getMonthlySalary() );
          System.out.printf( &quot;Employee 2: %s %s; Yearly Salary: $%.2f\n&quot;,
                  employee2.getFirstName(), employee2.getLastName(),
                  12 * employee2.getMonthlySalary() );
          
      }
  }
  </code></pre>
  <p>I cannot figure out how to call the developerInfo function in order get that to print to the console. Expected output is:</p>
  <pre><code>Name: Erin
  Course: Object-Oriented Programming
  Program: Three
  
  Before 20% raise: 
  Employee 1: John Doe; Yearly Salary: $34500.00
  Employee 2: Jane Doe; Yearly Salary: $37800.00
  After 20% raise: 
  Employee 1: John Doe; Yearly Salary: $41400.00
  Employee 2: Jane Doe; Yearly Salary: $45360.00
  </code></pre>
  <p>Any insight would be so appreciated! Thank you!</p>