Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaEmployeeSlip

This project implements an employee salary calculator with two types of employees: NormalEmployee and BonusEmployee.

Features:

Abstract class Employee defines common properties and methods for all employees (name, designation, etc.) and calculates deductions.

NormalEmployee calculates earnings based on basic wage, HRA, conveyance allowance, medical allowance, and other allowances.

BonusEmployee inherits from NormalEmployee and adds a bonus amount to the total earnings.

Main class demonstrates creating both types of employees and printing their payslips.

Requirements:

Java 11 or higher

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages