Chapter 2 of 'Starting Out with Java' covers fundamental Java programming concepts including class structure, data types, variables, and methods. It highlights the importance of the main method and explains how to create and use Java programs, along with the use of comments and statements. Additionally, it introduces primitive data types and the rules for naming variables and identifiers.