code for learning and studying java