When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.
这个大于的操作符的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。
One of the things that I defined inside my class definition here was an internal method.
就是这里的内部方法,这个方法有个名字,这很明显,那么这个方法。
Now we're going to I'm going a bit slow here but I'm going to use this method next time to introduce you to the most important class, sorry, the most important game we're going to see in the whole course.
接下来我们,我放慢一点,在下一讲我还要用这个方法,我要向大家介绍最重要的课程,抱歉,是整个课程中最重要的博弈
So another way saying it again is, when I call the class definition, by default I'm going to look to see is there an init method there, and if there is, I'm going to use it.
当我调用类的定义,默认的是语言要去查看,是不是有个init的方法,如果有的话,程序就会调用它,按照惯例。
应用推荐