[cs13001] Lab 9_Test

Mikhail Nesterenko mikhail at cs.kent.edu
Tue Apr 5 21:37:53 EDT 2016


> I need hint how to get past this hurdle.
> For the myShip.printShip()
> I can get it to print myShip sunk, but not the loc.x and loc.y
> I know it's referencing Location, but can't get past it.


Inside printShip() you need to invoke print() on the location of the
ship.

Thanks,
--
Mikhail


More information about the cs13001 mailing list