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.
1.4m articles
1.4m replys
5 comments
57.0k users