The document defines a Java class named 'Employee' that models an employee with attributes such as employee ID, name, designation, and salary. It includes a default constructor and a parameterized constructor for initializing the attributes, along with getter and setter methods for each attribute. This class serves as a basic representation of an employee in a system.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views
package model;
The document defines a Java class named 'Employee' that models an employee with attributes such as employee ID, name, designation, and salary. It includes a default constructor and a parameterized constructor for initializing the attributes, along with getter and setter methods for each attribute. This class serves as a basic representation of an employee in a system.