Using Java programming language:
Implement a class Account. An account has
• abalance,
• functions toadd
• andwithdrawmoney,
• and a function toinquirethe current balance.
Pass a value into a constructor to set an initial balance.
If no value is passed the initial balance should be set to $0.
Charge a $5 penalty if an attempt is made to withdraw more money than available in the account.
Enhance the Account class to compute interest on the current balance.