Three steps for developing excellent software:
1,Develop the desired Software
First, the software must meet all user needs.
When the developed software has not completed the basic requirementsOO princleIt will be a waste of time to add and change features
2,Application-Based Object-Oriented principles to increase software Elasticity
Use a text description of the problem to be resolved to determine whether your design meets the actual software features
Objects should be the intent of the objects whose names are displayed
Each object should represent a single concept (with a single type of responsibility rather than a combination of multiple types of responsibility)
An object often has a null attribute orNullAttribute. This object may have multiple responsibilities.
Encapsulation allows you to applyProgramBreak down into logic Blocks
You can see repeatedCodeAnd try to encapsulate them.
3,ApplicationOod princleTo increase application elasticity and reusability
Encapsulation: breaks down different parts of the application so that you can change one part without having to change another part.