You have other parts of the OO paradigm as well, which I would consider more important:

1. Combining data (instance variables) and behavior (methods) as a single entity (object)


That's an ADT then, not OOP. (I follow Cook's definition of OO here.)

2. Encapsulation and information hiding

That's a module system, not OOP.

Reply via email to