Fellow programmers, I am trying to figure out how to tie two classes I created into a main method that will show the capabilities of the customer class. I need to create an array of two Customer objects and attempt to make a sale to each. Then I need to setup the customers and the sale so that one sale will go through and one will fail. When I create the Customer objects I need to make sure to set the creditLimit and currentCreditAmount so that the new sale will work as expected. I have done this successfully I believe.

Here is what I am having trouble with. Setting it up so I can use System.out.printf to get the following information for each sale: Full name of customer (This getFullName method is set up in my Person Class), sale amount, total current credit, and rather or not the sale went through. When I write my printf and type Person.getFullName I get an error this is also the same with Customer.method So far this is what I have:

@OP: It's best to be upfront when carrying on the discussion at multiple places so everyone can be a party to the entire dialogue and as no-one wants to waste their time repeating what might have been said elsewhere.