Needs to be in Java!
1. With the class Person, you areto extend a subclassnamed, PaidAdvisor whose
variables, regularPayRate, specialPayRate, overtimePayRate,and
hoursWorked should be defined before their being used in themethods.
(a) Build a subclass, PaidAdvisor besides Person.
(b)regularPayRate is 25 dollars per an hour.
(c) specialPayRate is 50 dollars per an hour and is calculatedseparately
(d) overtimePayRate is one and half time of the regular payrate
(e) Whenever the worker works more than 30 hours, the overtime payrate kicks
in and the pay is calculated accordingly. However, special workhours are
separately calculated. Say, you have worked 40 hours. Your systemmust be
able to ask a separate question like,
PayPal Gateway not configured
PayPal Gateway not configured