Some code for Java fundamentals