I'd like to know the difference between object and instance of class. I feel both are same, but why do we call with two names. Can anybody explain with real life example?
They are the same thing in most object-oriented languages. "Instance of a class" is just how the term "object" is defined.
2.1m questions
2.1m answers
60 comments
57.0k users