- A class is a blueprint that defines common properties and behaviors of objects. It contains fields to store data and methods to perform actions.
- An object is an instance of a class that allocates memory at runtime. Objects are created using the new keyword and access class members.
- Nested classes can be declared within other classes and have access to their enclosing class members. They are either static, associated with the class, or inner, associated with an object instance. Inner classes can access object fields and methods directly.