Non-editable code:
public class APPoint { private double myX; private double myY; public APPoint( double x, double y ) { myX = x; myY = y; } public void move( double x, double y ) { myX += x; myY += y; } public double getX() { return myX; } public void setX( double x ) { myX = x; } public double getY() { return myY; }
Here's my code:
public double setY(){ return myY = y; }
Here is the continuing, non editable code:
I'm looking up tutorials on how to do this stuff myself, but I'm just asking in case I happen to stumble upon something that might work. I'm just looking for suggestions on tutorials, articles, etc that may help. I'm not looking for specific help yet. I mean, since I want to try to figure this stuff out on my own but I thought that getting suggestions from a forum might help. I'm using youtube and google already. Lol.