Write a java program to Define a Java class Employee with the following members:
Data Members: code, name, basic, hra, da, PF
Default Constructor: initialises code, basic, hra, da and PF to zero
Parameterized Constructor: Initialises basic, computes hra, da and PF as per the following criteria
hra = 10% of basic
da = 55% of basic
PF = $1000.
Main Method: computes and displays the net salary
NetSalary = basic + da + hra - PF
Answers
Answered by
1
answer was this
i Hope it is a useful for you
Attachments:
Similar questions