could anyone give me guide on how to solve this simple java problem, i would deeply appreciate it, the problems goes like this>

Develop ab application in java that determines if any clients have exceeded thier credit limit in an account each client have the following data>

a)Account number
b) the balance at the beginning of the month
c)total of all artefact's charged by the client in a month
d)allowed credit card limit

you most be able to figure out the new balance and show it

So do i have to create two classes_? and are the clients objects or what_? please help thank you

A Client class whith as instance variables:
- String account
- double balance
- double[] transaction or ArrayList<Double> transaction
- double creditLimit
should do

plus obviously a public void main(String[] args) method to test the whole thing