Explain the concept of Object-Oriented Programming (OOP) and provide examples of its key principles.
- Answer: Object-Oriented Programming (OOP) is a programming paradigm based on the concept of "objects," which can contain data in the form of fields and code in the form of procedures. OOP principles include encapsulation (data hiding), inheritance (reuse of code and extending functionalities), and polymorphism (ability to use objects of different classes interchangeably).