$15
Write an application that calculates and displays the weekly salary for an employee. The main() method prompts the user for an hourly pay rate, regular hours, and overtime hours. Create a separate method to calculate overtime pay, which is regular hours times the pay rate plus overtime hours times 1.5 times the pay rate; return the result to the main() method to be displayed. Save the program as Salary.java.Write a Java class that contains variables that hold your
hourly rate of pay and the number of hours that you worked. Display your gross
pay, your withholding tax, which is 15% of your gross pay, and your net pay
(gross pay – withholding). Save the class as Salary.java. Show substantial
comments.