Java is built around classes (blueprints) and objects (instances).
- Fields store data; methods define behaviour.
- A constructor has the class name and no return type; it initialises a new object.
thisrefers to the current object.- Create objects with
new. staticmembers belong to the class, not to individual objects.