約126,000件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:3か月以内
  • 2026/11/2 -The static keyword defines a static method or field for a class, or a static initialization block (see the link for more information about this usage).

    2026/11/2 -Static initialization blocks are declared within a class. They contain statements to be evaluated during class initialization. This permits more flexible ...

    2026/10/20 -You define a static method using the @staticmethod decorator. Static methods don't receive an implicit self or cls argument. This means they can't access or ...

    3日前 -Static methods can be called using the class name without creating an object. Instance methods require an object and can directly access both instance and ...

    2026/10/2 -A static method or property belongs to the class, not to an object: you call it with ClassName::method() and read it with ClassName::$count , no new needed.

    2026/11/17 -To make all local variables in a procedure or function static, place the static keyword at the beginning of the procedure or function heading (eg Static Sub or ...

    2026/10/28 -A static method belongs to the class instead of an object. It can be called directly using the class name. Static methods are commonly used for operations that ...

    2026/11/7 -The C# using static directive lets us call static members, constants and enum values without the type name. See what it imports and what it skips.

    2026/10/16 -In Java, a static block (also called a static initialization block) is a special block of code that runs automatically when the class is loaded into the JVM, ...

    2026/11/20 -Therefore, making an inner class static prevents a common cause of memory leaks and uses slightly less memory per instance of the class. The implicit reference ...