What is an object?

An object is a real-world entity which is the basic unit of OOPs for example chair, cat, dog, etc. Different objects have different states or attributes, and behaviors.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *