Question: what are the four main oops concepts?
Answer: Object-oriented programming has four basic concepts: encapsulation, abstraction, inheritance and polymorphism.