求助!operate on objects是啥意思,理解不了啊
Because static methods don't operate on objects, you cannot access instance fields from a static method.
operate on objects到底啥意思啊?查了很多也不清楚,求大师给讲讲,谢谢谢谢您了!
开始以为operate on objects意思是:操作对象,但是在静态方法里可以new对象啊,这个应该算操作对象吧。
后来查字典,operate不及物动词有运行的意思,operate on还有给病人动手术的意思,然后就把operate on objects理解为:依靠对象运行。
但是后来看到这句话:The code that operates on that data is referred to as member methods or just methods.翻译成:依靠那个数据运行的代码被称作成员方法或仅方法,有点不通啊,感觉翻译成:操作那个数据的代码被称作成员方法或仅方法 更好。
还查到:First, as explained, inside vaTest( ), v is operated on as an array. 好像operated on在被动时候也是连着的。
还有这句:You can see how the | and & operate on each bit by the results in c and d.
在论坛搜索到2个相似的问题:
https://bbs.csdn.net/topics/391897637
https://bbs.csdn.net/topics/190141795
operate on objects是操作objects局部?依靠对象运行?运行在对象上?好像都不对啊
英语不好,谢谢大师了!