Answer:
public class Employee {
private int id;
private String empName;
private double salary;
public void displayEmployee(){
System.out.print("Employee ID: " + id + "\nEmployee name: " + empName + "\nSalary: " + salary);
}
}
Explanation:
- Declare the class variables
- Write a method called <em>displayEmployee</em> to display the fields
Use symbols and a different password for each one
Ump will be assigned to word2
word1[0:3] gets all of the letters from index 0 to index 3 exclusive (that means index 3 is not included)
The answer is d torque because