r/javahelp • u/ProgrammusMaximus • Oct 30 '25
[ Removed by Reddit ]
[ Removed by Reddit on account of violating the content policy. ]
1
Upvotes
r/javahelp • u/ProgrammusMaximus • Oct 30 '25
[ Removed by Reddit on account of violating the content policy. ]
View all comments
3
u/vegan_antitheist Oct 30 '25
The output is invalid. It looks like what would be inside an array. But not the array itself. (Arrays are Lists in Java).
The error claims that it is a String. I don't know why and how you posted the code makes it difficult to look at. Use code blocks next time.