Right add to it in a second, but the idea is class is going to be a template for creating instances.
对象的实例的模板,现在,这真是一个很蠢的模板,我马上会去完善它,但是首先我应该先建立起它来。
But now at least you have a template that you can base cookies number 2 and 3 and 4 and 5.
但是最起码你有一个饼干人模板,可以据此制造出2号饼干人,3号,4号,5号等等。
It's an example of a very common tool that's going to be really useful to us, not just for doing search, but for doing a whole range of problems. That is, in essence, the template the describes a log style algorithm.
不仅仅是做搜索,还可以解决一整类问题,本质上,这个模板就描述了,对数形的算法,我们一会再回来。
Before, we talked about how do you know what messenger RNA to make, how do you know what RNA to copy from a DNA template?
在之前的课上,我们说到如何判断mRNA的具体序列,如何判断RNA从DNA模板复制了什么
Ok, and again, I'm going to remind you, the class is this template.
就在这里,我想大家在,你们的课堂手册上看看这个,好,我将会回去重建下这个类。
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.
那么大家明白了为什么,我说类是一个模板了,对不对?,现在它只是一个简单的模板,但是它是一个用来-,创建形成一个类的模板。
So this is giving me now that template, better way of saying it, all right, a template now, for a point is x, y, radius, angle.
其他的方法来进行计算,但是这就是典型的我,要放置它们的地方,因此这就给了我一个模板。
Think of this as, this is a template for creating instances of an object.
那么上面的东西是什么意思呢?,它的形式看起来挺时髦的,好,它的意思是说。
At the moment, it's a really dumb template.
我要建立一个,我称之为类的东西。
So DNA is replicated using one strand of the DNA as a template.
所以DNA复制是以DNA单链为模板的
It allows RNA to be made from a DNA template.
它催化从DNA模板生成RNA的过程
It operates in a similar fashion to DNA polymerase in that it denatures locally or opens up the double stranded DNA, but it's different in that it creates a new polymer from the DNA template in the language of RNA, using RNA nucleotides and not DNA nucleotides.
它的作用机制类似于DNA聚合酶,在局部使DNA双链变性,解旋,但不同的是,它合成了一个基于DNA模板的,使用RNA编码语言的新聚合物,即使用核糖核苷而非脱氧核糖核苷
But I want you to keep that template in mind because we're going to come back to that.
这是一个对我们,很实用的通用工具。
OK, the reason I'm saying this is, we have one class definition, is a cookie cutter, it's a template that's going to let us build versions of these things.
同一实例,好,我为什么要说这个的原因是,我们学习了类的定义了,这就像曲奇成型刀一样,它是个让我们建立不同版本的,这些东西的一个模板。
So you see why I say it's a template, right?
然后通过这两个赋值声明,在cp2中内置了x值和y值?
应用推荐