Basic java cheatsheet