- Obi Wan Stevobi
- |
- Exalted Mythic Member
Think of an object in programming just like you think of an object IRL. The easiest example I usuallly use to describe it is a box. A box has physical properties. A box has a height, a width, a length, weight, color, etc. When you think about properties (or instance variables) in a class, they are just like the physical properties of a box. Methods are an operation you can perform with that object. IRL, I could open the box, spin the box, shred the box, fill the box. Your class methods are something that can be done with that object.
It helps to imagine programming objects as real things, and it will make more sense.