Online Course Discussion Forum

APCSA exam 2014 FRQ #1 unexpected error

 
 
Picture of Dr. Kevin Wang
Re: APCSA exam 2014 FRQ #1 unexpected error
by Dr. Kevin Wang - Tuesday, 26 July 2022, 1:23 AM
 

It means an array of Strings cannot be printed like that.  What is being printed is the reference value of the array.  If you want to output the actual Strings, use a loop to print each element.