How object-oriented programming is different from functional programming?


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