Let's take a look. It's all oo, and it seems very esoteric. Actually, what is oo? What is not oo?
Take yourself for example. You are an o, the second o in oo. Look at yourself. You have your own methods and attributes, at the same time, you cannot leave the category of "person". Although everyone is different, are you a person? Don't say you are not. So everything you do is usually done using the oo method. For example, if you see money, you just want to spend it. If you see beautiful mm, you just want, but it's not about the money. For example, if you buy something in RMB, but you want to store the dollar for appreciation, why? Because RMB and USD have different attributes.
Now, the question is, why do you usually use the oo idea for what you do, but you won't be able to do it when it comes to programming? The principle is very simple. You are familiar with common things. Based on experience and guidance from our predecessors, you can easily classify them and abstract them into an object, in programming, this is because you have never considered this.
Therefore, it is not difficult to develop oo programming ideas. As long as you start from now on, first think clearly and then do it. It's not hard to say, but it takes a long time to cultivate this idea. If you don't believe it, think about it yourself. How long did you think the experience of being beautiful?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.