Can you guys help me with java?
package lab;
import java.util.Scanner;
public class Employee {
Scanner Set= new Scanner(System.in);
private String name, workerId, department;
private Float workingHours, payrate;
//calculate the salary
public void calculateSalary() {
System.out.println("enter your total work hour");
float workingHours= Set.nextFloat();
payrate= workingHours * 25;
System.out.println("enter your total work hour");
}
public void displaydetails() {
System.out.println("your name is:"+ name);
System.out.println("your worker Id is:"+ workerId);
System.out.println("your department is:"+ department);
System.out.println("your salary is: RM"+ payrate);
}
public void setDetails() {
System.out.println("enter your name:");
String name = Set.next();
System.out.println("enter your worker ID:");
String workerId = Set.next();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
Employee employee = new Employee();
employee.setDetails();
employee.calculateSalary();
employee.displaydetails();
}
}