What is the translation of " CLASS VARIABLES " in Chinese?

[klɑːs 'veəriəblz]
Noun
[klɑːs 'veəriəblz]
类变量

Examples of using Class variables in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Class variables or methods should be used instead.
应当使用类变量或类方法。
Common Mistake 2: Using class variables incorrectly.
常见错误2:错误地使用类变量.
Class variables are not used as frequently as instance variables are.
类变量不像实例变量那样频繁使用。
Let's go over what this script does, starting with the class variables:.
让我们回顾一下这个脚本正在做什么,从它的类变量开始:.
Instance methods can access class variables and class methods directly.
实例方法可以直接访问类变量和类方法。
For classes, the monitor protects the class's class variables.
对于类来说,监视器保护类的类变量….
Global Variables: Class variables cannot be used across classes..
全局变量:类变量不能跨类使用。
This is discouraged because itdoes not make it clear that they are class variables.
但是这是不鼓励的,因为它没有说明它们是类变量
Not all combinations of instance and class variables and methods are allowed:.
不是所有的实例和类变量以及方法的组合都是允许的:.
You can pass arguments to method new,which can be used to initialize class variables.
您可以给方法new传递参数,这些参数可用于初始化类变量
Static class variables are also stored on the heap along with the class definition.
静态成员变量跟随着类定义一起也存放在堆上。
An object comprises both data members(class variables and instance variables) and methods.
一个对象包括两个数据成员(类变量和实例变量)和方法。
Class variables and constants are Private by default, while other class members are Public by default.
类变量和常量默认为Private,而其他的类成员默认为Public。
The Employee class has four class variables name, age, designation and salary.
Employee类有四个成员变量:name、age、designation和salary。
It does not have classes, but it does have constructors which do what classes do,including acting as containers for class variables and methods.
它没有类,但是它有构造函数来做类的事情,包括声明变量和方法。
For instance, if a large number of class variables are private, one would use a DocBlock template to mark them as private.
例如,如果有大量的类成员变量是私有的,我们可以使用一个文档块模板标记它们的属性为私有。
It does not have classes, but it does have constructors which do what classes do,including acting as containers for class variables and methods.
它没有类,但是它有构造器能够完成能做的事情,包括像是类变量和方法的容器。
Any object can change the value of a class variable, but class variables can also be manipulated without creating an.
任何对象都可以改变类变量的值,但是也可以在不创建的实例的情况下操作类变量
Methods- class methods, class variables, what are class methods for, ruby constructors, singleton methods, singleton classes, overriding methods and more.
方法-类方法、类变量、类方法是用来干什么的、Ruby构造器、单例方法、单例类、重载方法以及更多.
Each Java virtual machine instance has a main memory, which contains all the program's variables: instance variables of objects,components of arrays, and class variables.
每一个Java虚拟机的实例都有一个主内存,他包含了所有程序的变量:对象、数组合类变量
Once the verification is done,JVM allocates memory for the class variables and initializes them to default values according to the type of the variable..
一旦验证完成后,JVM将为类变量分配内存,并根据变量的类型将其初始化为默认值。
Static data members of aclass are also known as"class variables", because their content does not depend on any object.
一个class的静态数据成员也被称作类变量"classvariables",因为它们的内容不依赖于某个对象,对同一个class的所有object具有相同的值。
Any object can change the value of a class variable, but class variables can also be manipulated without creating an instance of the class..
任何对象都可以改变类变量的值,但是也可以在不创建的实例的情况下操作类变
Class(static) variables First the public class variables, then the protected, then package level(no access modifier), and then the private.
的(静态)变量首先是类的公共变量,随后是保护变量,再后是包一级别的变量(没有访问修饰符,accessmodifier),最后是私有变量。
A field is defined as class variable that has a type annotation.
Field被定义为具有类型标注的类变量
A class variable, counting the number of robots.
一个类变量,用来计数机器人的数量.
The advantage of private static methods is that they canbe reused later if you need to reinitialize the class variable.
私有静态方法的优点是,如果需要重新初始化类变量,以后可以重用它们。
For example, z is a class variable, equivalent to a C++ static member variable that holds the same value for all instances of the class..
例如,z是一个类变量,等同于一个C++中的静态成员变量,该变量对类的所有实例保持相同的值。
Here, population belongs to the Robot class and hence is a class variable.
在本例中,population属于Robot类,因此它是一个类变量
Results: 29, Time: 0.0259

Word-for-word translation

Top dictionary queries

English - Chinese