O clasă este un șablon sau plan care definește structură (câmpuri) și comportament (metode). Un obiect (sau instanță) este ceva concret construit din acel șablon, cu propriile valori în memorie.
Șablon vs. instanță
text
class Car ← ONE definition (the blueprint)
│ fields: color, speed
│ methods: accelerate()
▼
new Car("red") ← many OBJECTS (instances), each with its own state
new Car("blue")
