Ah OK yes that makes sense. Learning new things every day!
I'm glad you have resolved this. Thank you for marking your thread as solved :)
Type: Posts; User: JavaPF
Ah OK yes that makes sense. Learning new things every day!
I'm glad you have resolved this. Thank you for marking your thread as solved :)
Hello dean,
The enhanced for loop is something that is reasonably new to myself. I have always used the regular for loop to print array data in the past. This will not cause any performance issues...
Dean, if this wasn't generating an exception, what is your expected output for:
System.out.print(players[0].pocketCard1.toString() + " ");
?
Thanks for that dean,
I can see the exception. I will look into it now..
Hello dean_martin and welcome to the forums :D
Could you please attach all of the code so I can compile it and see the error for myself?