Author | Message |
---|---|
dbravoru
Posts: 60
|
Posted 18:47 Oct 06, 2014 |
I'm not sure if this was intentional, but the toString() method in the Coordinate class does not print a char value. The method accurately prints the row and column using the instance variables row and col. "Row: " + row + "Col: " + col + "Val: "; The problem is that it is missing the value instance variable at the end. it should read: "Row: " + row + "Col: " + col + "Val: " + val; I write because it took me hours to figure out why the Coordinate class wasn't printing a Value for the coordinate. I had assumed it was a problem in my recursion algorithm. Just a heads up! |
MariahM
Posts: 35
|
Posted 18:52 Oct 06, 2014 |
Same here. Professor said he probably meant to leave out the char value. Only show coordinates. Either way, just make sure it works with the code he has.
|