Object-oriented basics: basic concepts and basic concepts
What Is Object-Oriented?
It is a programming method, a way of thinking, not a programming language, used to compare object-oriented with the real world. The core objective is to reduce the amount of code duplication.
How to Learn object-oriented?
1. Grasp the syntax of an object-oriented language, such as java
2. Understand the object-oriented way of thinking
3. Familiar with object-oriented design principles
4. Master the Object-Oriented Design Model
What is an object-oriented approach to thinking?
1. First, determine who will do it, and then determine how to do it.
2. First, consider the whole, and then consider the local
3. First, consider abstraction, and second, consider specifics.
What is the basic concept of object-oriented?
The core of object-oriented model is "development object model". The object model includes four main elements (abstraction, encapsulation, modularity, and hierarchy) and three major secondary elements (type, persistence, and concurrency ). Object-oriented mainly focuses on these elements. The most difficult part is to determine the correct (not absolute) class and object. The object-oriented invention aims to solve the problems of large and medium-sized and industrial software development. For example, it cannot be explained by a few small examples. It is recommended that you learn object-oriented or find a foreign tutorial, after all, object-oriented is invented by people.
Basic object-oriented concepts
There are many meanings, such as people and objects in programming ideas.