What is the translation of " A STATIC METHOD " in Vietnamese?

[ə 'stætik 'meθəd]
[ə 'stætik 'meθəd]
phương thức static
phương thức tĩnh
static method
phương pháp tĩnh

Examples of using A static method in English and their translations into Vietnamese

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
This is a static method.
Đây là một phương thức static.
A static method can not refer to this or super keyword.
Một phương thức static không thể được sử dụng từ khóa this và super.
Print"This is a static method".
Print( Tôi là một static method').
From a static method, one can only call other static methods.
Phương thức static Chúng chỉ có thể gọi các phương thức static khác.
NO, because main is a static method.
Không, vì main là phương thức static.
Reference to a static method Class:: staticMethodName.
Tham chiếu đến một static method- Class:: staticMethod.
Can we call a non-static method from inside a static method?
Có thể tạo một Static Method trong một non- Static Class?
Is that possible to create a Static Method in non-Static Class?
Có thể tạo một Static Method trong một non- Static Class?
A static method invoked without the need for creating an instance of a class.
Một phương thức static gọi mà không cần tạo một instance của một lớp.
Is that possible to create a Static Method in non-Static Class?
Có thể khai báo một non- Static method trong một Static class?
A static method can access static data member and can change the value of it.
Phương thức static có thể truy cập biến static và có thể thay đổi giá trị của nó.
What makes you say that either a singleton or a static method isn't thread-safe?
Điều gì làm cho bạn nói rằng một singleton hoặc một phương pháp tĩnh không an toàn thread?
Because atanh() is a static method of Math, you always use it as Math.
Do ceil() là phương thức tĩnh của Math, nên ta phải khai báo là Math.
It is possible toreference a constructor in precisely the same way as a static method by employing the name new.
Bạn có thể referenceđến một constructor giống với cách khi dùng static method bằng cách sử dụng" new".
Because exp() is a static method of Math, you always use it as Math.
Do sqrt() là phương thức tĩnh của Math, ta phải dùng theo cách này Math.
If you are writing code in the context of a type,you still need to include the name of the type to call a static method on the type.
Nếu bạn đang viết code trong bối cảnh của 1type, bạn vẫn cần bao hàm tên của type để gọi 1 method tĩnh trong type.
BOOTP normally uses a static method of determining what IP address to assign to a device.
BOOTP thông thường sử dụng một phương pháp tĩnh để xác định địa chỉ IP nào gán cho thiết bị.
A class can provide a public static factory method,which is simply a static method that returns an instance of the class.
Một lớp học có thể cung cấp cho công chúng phương pháp nhà máy tĩnh,chỉ đơn giản là một phương thức tĩnh trả về một ví dụ của lớp.
Static A static method can be invoked without the need for creating an instance of a class.
Phương thức static có thể được gọi mà không cần tạo ra một thể hiện của một lớp.
Typically, this is done by: declaring all constructors of the class to be private;and providing a static method that returns a reference to the instance.
Thông thường, điều này được thực hiện bằng cách: Tuyên bố tất cả các constructor của lớp phảilà private Cung cấp một phương thức tĩnh mà trả về một tham chiếu đến đối tượng.
How much a static method will hurt from a testing point of view depends on where it is in you application call graph.
Một phương thức tĩnh sẽ ảnh hưởng như thế nào từ quan điểm kiểm tra phụ thuộc vào vị trí của nó trong biểu đồ cuộc gọi ứng dụng của bạn.
In practice if you want to exit at any point inside an inner loop then youwould be better off externalizing the code into a method(a static method if needs be) and then call it.
Trong thực tế nếu bạn muốn thoát ra tại bất kỳ điểm nào bên trong một vòng lặp bên trongthì bạn sẽ được tốt hơn off bên ngoài mã vào một phương pháp( một phương pháp tĩnh nếu cần) và sau đó gọi nó.
You do not require an object to call a static method, it can directly be called using the class name.
Bạn không phải tạora một instance của class để gọi method, mà có thể gọi trực tiếp thông qua cách gọi static.
A static method can call only other static methods and not a non-static method from it.
Một phương thức static chỉ có thể gọi mộtphương thức static khác chứ không thể gọi được một phương thức non- static..
However, interestingly, they do not care what type of object the method is being called against oreven whether the method is a static method or an instance method..
Tuy nhiên 1 điều thú vị là, chúng không quan tâm kiểu của đối tượng phương thức là gì khi gọi hoặc thậm chí liệu rằngphương thức đó là static hay là một phương thức thể hiện.
We do that by calling compile(), a static method on Pattern, with a string literal representing the pattern we want to match.
Chúng ta làm điều đó bằng cách gọi compile(), một phương thức tĩnh trên Pattern, với một chữ chuỗi ký tự biểu diễn mẫu mà chúng ta muốn so khớp.
A static method should not refer to instance variables without creating an instance and cannot use“this” operator to refer the instance.
Một phương thức static không nên tham chiếu tới các biến instance mà không tạo một instance và không thể sử dụng toán tử this để tham chiếu Instance đó.
I have defined a static method on the schema that is defining the structure of User documents in my mongodb database. The method. findByCredentials….
Tôi đã xác định một phương thức tĩnh trên lược đồ xác định cấu trúc của tài liệu Người dùng trong cơ sở dữ liệu mongodb của tôi. Phương pháp. fi….
Create a static creation method that acts as a constructor.
Tạo một phương thức tạo tĩnh sẽ hoạt động như một constructor.
Results: 29, Time: 0.0388

Word-for-word translation

Top dictionary queries

English - Vietnamese