The document defines an Employee class with attributes for name, age, and salary, along with methods to display employee information and increase salary. It includes two constructors: one that accepts all parameters and another that sets a default salary. The Main class demonstrates creating Employee objects and invoking their methods.
The document defines an Employee class with attributes for name, age, and salary, along with methods to display employee information and increase salary. It includes two constructors: one that accepts all parameters and another that sets a default salary. The Main class demonstrates creating Employee objects and invoking their methods.