Create a class named ‘employee’ in java with the following members :-
Employee code (e_cd) = String type , Name of employee(e_nam) = String type,
Basic salary(b_sal) = double type , Net salary (n_sal) = double type.
Methods:-
1) constructor to initialize employee code , name , basic salary.
2) display all details of employee.3) compute and print the net salary by using the following:-
Net salary = basic + da + hra –(pf+it)
DA=555 of basic salary , HRA = 20% of basic salary , PF= Rs. 1000/- ( make it constant)
IT = 2% of gross salary, where GROSS = basic + DA + HRA .
Write main( ) function also.
Answers
Answered by
0
Answer:
so please mark as brainiest tag please
Explanation:
so please mark as brainiest tag please
Answered by
0
Answer:
i don't no
Explanation:
sorry siedoebe idiew js9de ywvei hsow jsie jzgw us2 jsg3 I
Similar questions
India Languages,
3 months ago
Math,
3 months ago
Hindi,
3 months ago
Accountancy,
11 months ago
Math,
11 months ago