Most beginners confuse Class and Object in Java π€
Here's the simplest way to understand it:
π· Object = instance of a class (blueprint comes alive)
πΆ It has identity, state & behavior
π’ Memory is allocated in heap when created
Vehicle is a CLASS
Car, Truck, Cycle are OBJECTS