Code from Core JAVA Volume 1 Fundamentals