Classes & Objects
Understand what classes and objects are. Learn how to define a class and create object instances.
What is a class?
Class: A template that defines data (fields) and actions (methods). Think of it as a blueprint.
What is an object?
Object: A specific instance of a class. Each object has its own copy of the fields defined in the class.
All lessons in this course
- Classes & Objects
- Fields, Methods, Constructors
- Encapsulation (getters/setters)