Fixed java quickstart example

java complains about not expecting an interface here. Needs to be `implements` instead of `extends`.

Btw: is there a better way to contribute things like this than through github PR?