I get an error that the index over at clientList.get(index); can not be assigned to a variable. I have an Arraylist of clients that the index goes through and then it gets the clients index and gets another thing from another arraylist. I just don't understand why that index cannot be assigned to a variable.
public void billPrint() {
for (int index = 0; index < clientList.size(); index++);
Clients currentClient = clientList.get(index);
currentClient.getUnpaidBills();
System.out.println();
}