How object-oriented programming is different from functional programming?


Answer: Functional programming focuses on functions, whereas object-oriented programming focuses on classes and respective objects.