The XYZ School wants to take its grade 10 students on a trip. The cost of the trip is $5,000.00. The school has only thirty days in which to collect the funds in order to go on the trip. Design a class called SchoolContributionthat creates a contribution account. In your design incorporate the following:• A method called totalContribution(..) that accepts and accumulates the daily contributions.• A Boolean method called hasMoreTime() that determines if more time is available in which to reach the targeted amount.• A Boolean method called needMoreMoney() that determines if more contribution is needed tomeet the target.• A Boolean method called metTarget() that reports if target has been met. This must be based onmeeting the target within the time frame.• A method called toString() that returns the result.