Include appropriate getters and setters method in Employee class. Write the following method in the Employee class: public void calculateNetSalary(int pfpercentage) – This method should take PF percentage as argument. Deduct the PF amount from the salary and set the netSalary.
Read moreHow do I find out employee details?
Know Your Employee Id, Your Details on Employee Information System (EIS) Website
Read moreHow is basic salary calculated?
The basic pay is usually 40% of gross income or 50% of an individual’s CTC. Basic salary = Gross pay- total allowances (medical insurance, HRA, DA, conveyance, etc.)
Read moreHow is salary calculated in Java for employees?
net salary= GS-income taxAlgorithm:
Read moreHow are Employee salaries calculated?
Your total yearly take-home salary = gross salary – total deductions = ₹9.50 lakhs – ₹48,700 = ₹9,01,300. Now, your monthly take-home salary = annual salary/12 = ₹9,01,300/12 = ₹75,108. To do away with the tedious calculations, most people prefer the take-home salary calculator in India.
Read moreHow do you calculate gross salary and net salary in Java?
Java Program For Find The Gross Salary of an Employee
Read moreWhat is this keyword in Java?
The this keyword refers to the current object in a method or constructor . The most common use of the this keyword is to eliminate the confusion between class attributes and parameters with the same name (because a class attribute is shadowed by a method or constructor parameter).
Read more