Hi,
I'm currently writing a simple
test application for a couple of classes. The problem arises when I try to pass values to an add method in the CustomerList class. These values are read from user input as a
String and an int value. However, the add method in the CustomerList class is then trying to add these new values to an array within the class.
Basically, how do I send the String and int values to the add method, when the add method is as follows,
My code for the test class is currently as follows,
When I try to run the class I get the following error,
Any help or advice greatly appreciated!!