I have a code that I am trying to use for AI, and I am getting a strange error like result, even though the program can execute.
here is what is displayed when I print out the character array after converting to a string.
[Ljava.lang.Character;@2e3fe12e
Here is what I am adding to my array
for (Point p : s1){
if (p.x == puckX && p.y == puckY){
orderOfSensors[numSensHit] = 'A';
numSensHit += 1;
}
}
what is causing this problem?
Thanks for your help.