回到计算机程序的世界中来,类是一个模板或处方,它定义了一组变量和一组方法,其中前者称为实例变量(instance variable),后者包括用于实现那些方法的代码。对象(类的实例)是一个实际的内存块,为类中定义的变量集提供存储空间。
基于4437个网页-相关网页
Convert the people instance variable to XML.
把people实例变量转换成xml。
It also creates a constructor that sets this instance variable.
同时也创建了用于设置这个实例变量的构造函数。
Select for each view component the corresponding instance variable.
为每个视图组件选择相应的实例变量。
This is what's actually going to create the instance, instantiate it, create what the set of variable values are for it.
这个声明在你,创建一个实例的时候,实例化这个实例,然后给这个实例。
应用推荐