码迷,mamicode.com
首页 > 其他好文 > 详细

Object Oriented Programming

时间:2019-08-25 15:47:41      阅读:67      评论:0      收藏:0      [点我收藏+]

标签:str   mes   data   header   lse   name   problem   where   tps   

原文引用https://www.dazhuanlan.com/2019/08/25/5d622a3ae2eb7/


Object-Oriented Programming

Object-Oriented Programming A.K.A : OOP
is a way(paradigm) of building computer programs so that they are both intuitive to humans(problem side) and computers(solution side).

Objects have attributes and methods.

Attributes are basically the characteristics or properties, or state about the object. Like a Person has a name, gender and age.

Methods are actions or functionalities that can be performed or executed on objects from somewhere else in the programs. Like a Light can be On and Off.

If you build your programs using OOP, you basically build a collection of objects that can interact with each other by sending messages.

Features


Share

Object Oriented Programming

标签:str   mes   data   header   lse   name   problem   where   tps   

原文地址:https://www.cnblogs.com/petewell/p/11408039.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!