What Is Object-Oriented?

Source: Internet
Author: User

What Is Object-Oriented?

What Is Object-Oriented?

This problem has been confusing for a long time,

After reading a book,

After writing thousands of lines of code,

I learned many times,

Many times I think I have found the answer,

Just as I'm asking about the answer to love,

The answer to happiness is the same,

Each answer,

I was excited,

But every time it fades down the last time,

Or supplement,

Or overturn,

Or tangle,

Lost in the end.


In this period of time,

I have learned this meaning,

A class contains attributes,

And behavior,

Object-oriented representation for classes,

This is not an interface,

But for everything,

Class, interface, behavior (function (method), attributes, etc,

Objects are an aspect of your view of things,

A vision,

A new kind of flexibility,

Object-oriented is like a mirror,

The ing is not anything else,

Just the way you think,

You think of a class as an object,

Then it has a life,

You can also regard behavior as an object,

Then it has a soul,

Similarly,

You can also regard attributes as objects,

Then it has a soul,

Everything is changeable,

The only thing that remains unchanged is your attitude,

So all the imitation,

No spirituality,

All thoughts have life,

Object,

It's just a pocket,

As long as it is large enough,

You can put everything you want in.



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.