The document contains code for two Java classes: Fraction and Counter. Fraction defines a class to represent fractions with methods like reducing to lowest terms and printing. Counter defines a class to represent a counter with methods like increasing, decreasing, and resetting the count.