What is the difference between static and non-static variables?
静态变量和非静态变量有何不同?
A non-static class can contain static methods, fields, properties, or events.
非静态类别能包含静态方法、栏位、属性或事件。
Well, an abstract class can have non-static variables, and an interface can't.
抽象类可以有非静态变量,而接口不可以有。
You also cannot derive from Static1, or add any non-static members to the class.
您也不能从Static1派生,或者向该类添加任何非静态成员。
Realizing the access of (class?)static member function to class non-static member.
实现了让类的静态成员函数访问类中非静态成员。
Then, the mapping is set, and finally, a non-static version of unmarshal() is called.
然后设置映射,最后调用 unmarshal()的非静态版本。
Notice too that there is one for catch blocks in static contexts and one for non-static contexts.
请注意在静态内容和非静态内容中各有一个捕捉块。
The discussion and the sample program are limited to non-static data members and virtual functions.
讨论和示例程序都只限于非静态数据成员和虚函数。
An assignment operator shall be implemented by a non-static member function with exactly one parameter.
赋值操作符应该实现为带一个参数的非静态成员函数。
To change the behavior of the Factory class, you simply subclass FactoryImpl and override its non-static methods.
要更改Factory类的行为,只要子类化Factory Impl并覆盖其非静态方法。
It is more typical to declare a non-static class with some static members, than to declare an entire class as static.
比起将整个类别宣告为静态,以一些静态成员宣告非静态类别是较典型的方法。
They can be manipulated from other static and non-static method (basically from anywhere provided permissions are there).
他们可以从静态和非静态方法(基本上从任何地方提供的权限有)。
They do not contain constructors, copy assignment operators, destructors, or non-static data members that are not themselves PODS.
这些资料结构不包含建构函式、复制指派运算子,或本身不是PODS的非静态资料成员。
This example USES the non-static method of obtaining configuration data, which allows you to pull configuration data from any application.
此示例使用获取配置数据的非静态方法,这使得您可以从任何应用程序提取配置数据。
Both LOBs are used only if a non-static binding of services is used; optional Partner links, which represent connections to external services.
只在使用非静态的服务绑定时使用这两个lob;可选伙伴链接,代表到外部服务的连接。
By using the Maxwell's equations and axial symmetry, a method on calculating non-static axial symmetry fields with unstable charge source is given.
利用麦克斯韦方程组和场的轴对称性,给出了由对称轴的非静态电场计算含不稳定电荷源的轴对称非静态空间电磁场的一种方法。
By using the Maxwell's equations and axial symmetry, a method on calculating non-static axial symmetry fields with unstable charge source is given.
利用麦克斯韦方程组和场的轴对称性,分别对含不稳定电荷源和不稳定电流源的轴对称非静态空间电磁场进行了研究。
In the case of a non-static method, you can pass a reference to yourself (this), and the program will determine the package for you, as shown in Listing 1.
在使用非静态方法时,您可以传递对自身的引用(this),程序将为您确定查找的是哪个包,如清单1所示。
To implement an interface member, the corresponding member on the class must be public, non-static, and have the same name and signature as the interface member.
若要实作介面成员,对应的类别成员必须是公用、非静态,而且具有与介面成员相同的名称和签章。
Selecting the advanced Eddington coordinates, and adopting the statistical method, the instantaneous radiant emittance of non-static black hole is calculated out.
选取超前爱丁顿坐标,采用统计的方法,计算出动态黑洞的瞬时辐出度。
This paper studies the thermodynamic quasi-stationary and non-static processes from the Angle of methodology, and presents an efficient method for the thermodynamic processes.
文章对热力学准静态过程与非静态过程进行教学研究,并提出处理热力学过程有效和准确的方法。
Under the circumstances of axial symmetric and non-static current distribution, a method for calculating off-axis electromagnetic field is given by using Maxwells equations and axial symmetry.
在轴对称非静态电流分布的情况下,利用麦克斯韦方程组和轴对称性,给出了轴外电磁场的一种计算方法。
This is unusual because it requires a developer to create an instance of an object just to access non-instance (static) methods and fields!
这种做法并不常见,因为需要开发人员创建仅用于访问非实例(静态)方法和字段的对象的实例。
With standard Flex AMF3 serialization (BlazeDS or LCDS), only non transient, non static public properties may be serialized.
使用标准的FlexAMF3序列化(BlazeDS或LCDS),只有非临时、非静态的公有属性才能被序列化。
Using motion-detection algorithms, the BriefCam software separates the background (static or non-moving objects) from the moving objects, tracking and analysing any motion within the frame.
利用运动检测算法,BriefCam软件能把背景(静态或非运动的物体)同运动的物体分开,在帧内记录并分析任何一个动作。
He also provides some example of static optimizations that can be applied at the bytecode level to enhance the performance in the non-transactional code.
他还提供了一些可以应用在字节码级的静态优化的例子,这种优化能够提升非事务性代码的性能。
Returning a pointer to static data may cause a function to be non-reentrant.
返回指向静态数据的指针可能会导致函数不可重入。
Additional solutions, depending on the errors, may be to manually rebuild non-clustered indexes, manually drop and reload a table if the data is static, and so on.
另外的解决方案,取决于具体的错误,可能是手工重建非聚簇索引,如果数据是静态的手工扔掉和重新载入表,诸如此类。
You can use dynamic relationships to correlate primary keys from a set of related business objects and static relationships to correlate non-primary key properties.
可以使用动态关系来关联一组相关业务对象的主键,而使用静态关系来关联非主键属性。
Dynamic relationships are typically used to correlate primary keys from a set of related business objects, whereas static relationships are typically used to correlate non-primary key properties.
动态关系通常用于关联一组相关业务对象中的主键,而静态关系通常用于关联一些非主键的属性。
应用推荐