Dietel and Dietel, Java, How to Program, 10th Edition Prentice-Hall, 2014. ISBN 0-13-380780-0 [Chapter 2],