It is a basic unit of Object-Oriented Programming and represents the real life entities.the object is an instance of a class and have state and behavior.
A class is a blueprint or prototype we can create objects from it. It represents a set of properties or methods that are common to all objects of one type.
package is a namespace that organizes a set of related classes and interfaces.