Describe OOP (Object-oriented programming) and give an example. (Technical interview question)
Utilisateur anonyme
I described the concept of an object from a class and the idea of abstraction using a bank account as an example. I used a bank account as an object with variables such as money and bank id and methods such as deposit and withdrawal. I was also asked about certain OOP definitions such as polymorphism and encapsulation.