When I call this class definition, it calls init, init and I give it an x and a y value.
我说过,当我们,调用这个类的定义的时候,它会去调用。
This is saying, that's a class, true or sorry, an instance of a class, and I'm going to get the x value associated with it.
那么两个点是同一个点,我会返回,注意格式,这儿的意思是,它是一个类,噢对不起。
And roughly, the second half of the class is going to be value theory.
差不多,课程的第二部分是价值理论。
I think film mostly through the entertaining value and I know there is more to its essence I've never taking film class, so I hope the films might be interesting for us to discuss some philosophical concepts Never thought about like that.
我主要看到的是电影的娱乐价值,我也知道电影还有很多其他价值,我从没上过电影课,我希望这门课会很有趣,可以讨论一些哲学概念,我从没思考过这类问题。
We've seen in class that you get garbage values if you don't initialize something to a value so let me actually initialize x to a value.
我们在课程上了解到,如果你不给一个变量,进行赋值,它会获得一个无效值,让我把x初始化为一个值。
And is able to then say, inside of that class definition, find the value of x.
这个类的定义这里然后取值,也可以这么说,在类的定义的里面。
Right now it's a simple template, but it's a template for creating what a class looks like, and I now have an x- and y- value associated with each instance of this.
那么大家明白了为什么,我说类是一个模板了,对不对?,现在它只是一个简单的模板,但是它是一个用来-,创建形成一个类的模板。
First half of the class, metaphysics; second half of the class, value theory.
前半学期,形而上学;,后半学期,价值理论。
应用推荐