Basic java code basics, for beginners