Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Build the moveLeft() and moveRight() Methods

Assignment:

  1. Write a getter method called offsetLeft in the Token class according the requirements and guidelines below.
  2. Add a property inside the Token class constructor method called columnLocation and set it to 0.
  3. Write a moveLeft() method in the Token class according to the requirements and guidelines below.
  4. Write a moveRight() method in the Token class accord...