你们怎么理解对象的属性和方法的啊? 是不是 对象的属性即有那些效果 而方法是不是就是如何利用这些效果啊?
phpcn_u224
phpcn_u224 2016-12-17 16:23:49
0
2
1026

如题

phpcn_u224
phpcn_u224

reply all(2)
数据分析师

How do you understand the properties and methods of objects? Do the properties of objects have those effects, and do methods mean how to use these effects? -PHP Chinese website Q&A-How do you understand the properties and methods of objects? Is it true that the properties of an object have those effects, and is the method how to use these effects? -PHP Chinese website Q&A

Please watch and learn.

阿神

对象相当于一个人,属性就是性别,胖瘦,身高,是必须通过该对象来获取的【值】;方法是这个人可以干什么,减肥,吃饭,看电视,逛街,是必须通过该对象才能执行的【行为】。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template