What is an employee database?

An employee database contains critical information, such as each employee’s personal information, as well as company-related information such as their pay scale, hire date, and more . It holds a variety of employee personnel fields such as name, age, job title, salary, length of service, etc for an HR to refer from.

Read more

Constructor method nedir?

Tasarlanan sınıftan nesne üretilmesi anında çalışan metoddur. Yani bir nesne oluşturduğumuzda ilk olarak Constructor Method çalışır. Nesneleri sınıflardan ürettiğimize göre bu yapının sınıf içerisinde olduğunu tahmin edebiliriz.

Read more

How is PF calculated in Java?

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 more

How the PF amount is calculated?

The employee contributes 12 percent of his or her basic salary along with the Dearness Allowance every month to the EPF account . For example: If the basic salary is Rs. 15,000 per month, the employee contribution shall be 12 % of 15000, which comes to Rs 1800/-. This amount is the employee contribution.

Read more