Classes and Objects
How to define a class with fields and methods, create objects from that class using new, use constructors to initialize objects, understand the this keyword, and apply encapsulation with private fields and public getters/setters. This is the single most important tutorial in the entire site — everything after it assumes you understand classes.
Why first: Every subsequent tutorial defines classes. The Collections tutorials use class types (ArrayList, HashMap). JDBC uses entity classes. Spring Boot is built entirely around classes and annotations. You need this foundation before anything else makes sense.
Start tutorial →