Consider a Restaurant which wants to calculate the amount to bepaid to each of its employees for a particular pay period.
A casual employee is described by her `name` (`String`),`hourlyPay` (`double`), the number of service hours in the payperiod
`numOfHours` (`int`) and whether or not she is applicable to aweekend loading rate `worksOvertime` (`boolean`).
Since some of them have been working over weekends and publicholidays, their overtime pay will also have to be computed.
For this, We’ll make a `WeekendPayCalculator` class.
Two reasons as to why this is a good candidate for a `staticnested class` are:
1. It has limited use in any other context.
2. Restaurants
PayPal Gateway not configured
PayPal Gateway not configured