Create a project called OOP containing class called Employee. Inthat class, create a method called salary to calculate the payrollof employee with the following input: basicpay=5000,allowances=1000, tax is 30% of basicpay, grosspay = basicpay+allowances, netpay=grosspay-tax. Create another class calledManager which extends Employee in the same package and create amethod salary() the same as the one in Employee with the followinginput: basicpay=50050, allowances=10000, tax is 35% of basicpay,grosspay=basicpay+allowances, netpay=grosspay-tax Let the salary()from Manager class override the salary() from employee class. Usethe Super keyword to get the overridden method then print theoutput as shown below: Netpay of the Manger is :42532.5 Netpay
PayPal Gateway not configured
PayPal Gateway not configured