What is the translation of " STATIC METHODS " in Chinese?

['stætik 'meθədz]
['stætik 'meθədz]
静态方法
static method

Examples of using Static methods in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
When to use static methods?
什么时候使用staticmethod.
Static methods- Today, projects have a lot of moving parts.
静态方法-如今,项目有很多移动部分。
When do You Use Static Methods?
什么时候使用staticmethod.
These static methods are the so-called"named constructors".
这些static方法称为“命名的构造函数(namedconstructors)”.
Can call only other static methods.
它们仅能调用其他的static方法
Many static methods can be quite like functions, as they typically have no state(not always true).
许多静态方法可能非常类似于函数,因为它们通常没有状态(并非总是如此)。
They can only call other static methods.
它们仅能调用其他的static方法
There are four static methods in Promise object.
Promise对象中有四种静态方法
The Regex class contains several static methods:.
Regex类中还包含一些静态的方法:.
The atomic object is an object of static methods such as math, so we cannot use it as a constructor.
Atomics是一个类似于Math一样的静态方法的对象,所以我们不能把它作为构造函数来使用。
Since Java 8, it can have default and static methods also.
从Java8开始,它也可以有默认和静态方法
The static methods valueOf() and values() are created at compile time and do not appear in source code.
静态方法“valueOf()”和“values()”是在编译时创建的,不会出现在源代码中。
A static method can only call other static methods.
它们仅能调用其他的static方法
The advantage of private static methods is that they can be reused later if you need to reinitialize the class variable.
私有静态方法的优点是,如果需要重新初始化类变量,以后可以重用它们。
This way Rabbit has access to all static methods of Animal.
这样,Rabbit就可以访问Animal的所有静态方法
To group static methods together we create utility classes, where we have to define private constructors to prevent their instantiation.
为了将静态方法组在一起,我们创建了工具类,必须定义私有构造函数来防止它们实例化。
An abstract class may have static fields and static methods.
抽象类可能有static字段和static方法
In this case, functions would be analogous to static methods and methods would have the same meaning.
在这种情况下,函数将类似于静态方法,并且方法具有相同的含义。
The variables must be declared static,because they are used from static methods.
变量必须声明为static,因为它们是从静态方法中使用的。
The java programming language supports static methods as well as static variables.
Java编程语言支持静态方法以及静态变量。
In addition to the many instance methods listed above,the Date object also defines two static methods.
除了以上列出的许多实例方法,该日期对象还定义了两个静态方法
From Java SE 9 onward,we can write private and private static methods in an interface using the‘private' keyword.
也就是说从JavaSE9开始,我们也能够在接口类中使用‘private'关键字写私有化方法和私有化静态方法
In addition to the many instance methods listed previously,the Date object also defines two static methods.
除了以上列出的许多实例方法,该日期对象还定义了两个静态方法
The return type of all the methods in Promise object whether they are static methods or prototype methods is again a Promise.
Promise对象中所有方法的返回类型,无论是静态方法还是原型方法,都是Promise。
SO goes to great lengths to reduce garbage collection costs, skipping practices like TDD, avoiding layers of abstraction,and using static methods.
SO在减少垃圾回收成本上做了很多努力,跳过类似TDD的实践,避免抽象层,使用静态方法
In addition to default methods,you can now also define static methods in interfaces.
除了默认方法之外,您还可以在接口中定义静态方法
You will notice that since we want to use an interface,we can't just access the services through static methods any more.
你应该已经注意到了:由于想要使用接口,我们不能再通过静态方法直接访问服务--我们必须.
Sure, this is a bit of a simplistic example,but it will do alright helping explain some of the benefits that static methods provide.
当然,这是一个有点简陋的例子,但是它可以帮助解释静态方法所带来的一些好处。
Results: 28, Time: 0.0269

Word-for-word translation

Top dictionary queries

English - Chinese