CodePudding user response:
Don't put the two, there is no direct relationship,You only focus on what they can do object-oriented, three elements: encapsulation, inheritance, polymorphism,
With object oriented to solve the problem, find some relevant exercises to do, from practice to understand the benefits of object-oriented,