hello all, am new here and am sorry my first post is a request for knowledge.
I am studying with the OU and am studying java and have hit a bit of a stumbling block. Can someone give me a hint as to why this snippit of code is wrong.?
public void moveToPosition(int move)
{
while(this.getPosition() != move)
{
this.jump();
if(this.getPosition() > move)
{
this.right();
}
else
{
this.left();
}
}
}
i don't the answer just an idea of what i have messed up.
thanks
Aggy

