Represent real life entity.
in java you can create many class.
Points to remember about objects.
- state = the variables which we define .
- Behavior = its represent by method.
- identity = gives a name to object to interact with other object.
with the help of new keyword.
Dog tuffy = **new**
Dog("tuffy","papillon", 5, "white");