They asked me to explain the difference between object-oriented and procedural programming with examples.
Anonym
I answered by describing the main principles of object-oriented programming such as encapsulation, inheritance, and polymorphism. I also provided an example comparing a simple class-based design with a procedural approach.