You should not try to call toString() on the class of the room, but rather on the Room object. In this method, scroll through the room array with the for loop and print the line returned by calling toString() for each Room object stored in the array, as this looks like what your method looks like.
for instance
System.out.println("All Foos held here include: ");
You will obviously have to change the types and names of variables for your code.
Edit 2: although you will have to use the standard loop for the loop, and not for each loop, since you will not iterate over the entire array, but rather stop working when the number of numbers is reached.
System.out.println("All Foos held here include: "); // using standard for loop, assuming an array called fooArray that holds Foo objects for (int i = 0; i < someMaxNumber; i++) { System.out.println(fooArray[i]); }
source share