Java, Encapsulation, Programming, Software Development, Technology.
constructor public Employee() { } //public getter and setter methods. public String getName() { return name; } public void setName(String name) { this.name = name; } public int getEmpId() { return empId; } public void setEmpId(int empId) { this.empId = empId; } public long getSalary() { return