This lecture introduces students to writing their own classes in Java. The instructor begins by explaining what classes are and how to define them with the public class keyword followed by the class name. Classes can optionally extend other classes. Each class is defined in its own .java file with the same name as the class. The body of the class contains methods, variables, and constants that can be public or private. Most things should be private unless there is a good reason to make them public. The instructor then demonstrates creating a new class called "MyCounter" in Eclipse and explains how Eclipse generates a stub file and class definition. The class will be written to represent a simple counter that can increment numeric values.