(this is my first program ) java invalid method declaration; return type required : <pre><code>import java.io.*;
public class Employee {

   public String name;

   private double salary;

   public Employee (String empName) {
      name = empName;
   }
   public  lary(double empSal) {
      salary = empSal;
   }

   public void printEmp() {
      System.out.println("name  : " + name );
      System.out.println("salary :" + salary);
   }

   public static void main(String args[]) {
      Employee empOne = new Employee("Ransika");
     lary emptwo = new lary(1000);
      empOne.printEmp();
      emptwo.printEmp();
   }
}
</code></pre>

<p>Employee.java:16: error: invalid method declaration; return type required
   public  lary(double empSal). can number  cannot be defined as above. </p>
