Explain the concept of object-oriented programming (OOP) and how it is implemented in embedded environments.