Thanks. Well I did manage to get it to work but the results ouputted werent what I expected.
Here is what I have in main:
System.out.println( accs[0].Print() );
In my Account Class:
public String Print(String n)
{
// Print
return ( "User Name: " + name + " Account: " + accNo + " balance: " + totalbalance + ")" ) ;
}
I should get something like:
User Name: Jack Account: 1121921 balance: 12313.12
But instead I'm getting:
I have a feeling that it has something to do with this line:
public String Print(String n)