Fixed java quickstart example

java complains about not expecting an interface here. Needs to be `implements` instead of `extends`.

This closes #257