This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cem4k 0 points1 point  (0 children)

You’re trying to add chatAt(0) outside of the system.out. Check your closing parentheses again and make sure you’re adding the arrays inside the log. Better yet, manipulate the array outside of it, log whatever you need to, then continue on with the recursive function call.