Discuss the below:
Create a Java Code needed to perform the following:
• Calculate state withholding tax at 6.0% and calculate federal withholding tax at 25.0%.
• Calculate dependent deductions at 2.0% of the employee's salary for each dependent.
• Calculate total withholding.
• Calculate take-home pay as salary minus total withholding plus deductions.