Differences between object-oriented and process-oriented, object-oriented
- Process-orientedIs to analyze the steps required to solve the problem, and then useFunctionImplement these steps step by step and call them one by one.
- Object-orientedIt is to break down a problem transaction into various objects. The object is created not to complete a step, but to describe the behavior of a thing in the whole process of solving the problem.
The C language is process-oriented and has no class concept. The steps to solve the problem are: 1. Use functions to implement various functions; 2. Assemble and call
C #. JAVA is object-oriented and has the concept of classes. The steps to solve the problem are: 1. Abstract The problem [implemented by Class] 2. Use classes for assembly and calling
The biggest difference between process-oriented and object-oriented is: Class
The essence of Object-Oriented Programming (OOP): Organizes code in the form of classes and encapsulates data in the form of Objects