Before getting to r's notion of object orientation, let's review and clarify r's data and functions.
在讨论r的面向对象概念之前,我们先回顾和澄清一下r的数据和函数概念。
Rational Data Architect provides the ide required for DB2 object development such as stored procedures and user-defined functions.
Rational Data Architect提供开发DB 2对象(比如存储过程和用户自定义函数)所需的IDE。
Using these functions, we can convert and export our object structures and make data from our PHP database connections available to our Ajax applications using json_encode .
使用这些函数,我们可以转换和导出对象结构,还可以使用json_encode使来自PHP数据库连接的数据可用于Ajax应用程序。
This combining of data and functions on that data is a very essence of object-oriented programming That's really what defines it.
数据与函数的结合,是面向对象编程的核心,这也就是它的定义。
And the problem is, that we want to build this abstract data type, but we'd like to basically know what kind of object is it, and what functions actually belong to it, how do we use them?
然后我对它们运行了这个方法,就是这一小段代码这个方法,这有意义么?,当然没有了,对不对?,因为你知道,当你把两个极坐标,表示的点进行相加运算的时候?
An object is a collection of data and functions.
对象就是数据和函数的集合。
应用推荐