Error: javac "Tile.java" (in directory: /home/killingthemonkey/Java)
Tile.java:26: error: non-static method printTile(Tile) cannot be referenced from a static context
javac "Tile.java" (in directory: /home/killingthemonkey/Java)
printTile(tile);
^
------------------------
Hi. I'm Doug. I'm a lurker.
Well, I've decided to finally work my way through a text on
Java. I'm up to the point where I'm creating classes with constructors. I'm getting this error about not able to access non-static method.
Help, please. It would be much appreciated.