約316,000件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1か月以内
  • 6日前 -Static methods are often utility functions, such as functions to create or clone objects, whereas static properties are useful for caches, fixed-configuration, ...

    2026/10/24 -The static keyword is used to define a static method. · Static methods do not belong to class instances and can be called directly from the class itself.

    6日前 -Static initialization blocks are declared within a class. They contain statements to be evaluated during class initialization. This permits more flexible ...

    Protect internal data with hash-prefixed private fields and methods, and create constructor utility helpers with static methods and fields.

    YouTubeRecord10

    2026/10/16 -A static func belongs to the class, like a static variable. You call it through the class name, with no object, as you did in the lesson on files…

    2026/10/31 -V also supports static variables, which are like global variables, but available only inside a single unsafe function (you can look at them as namespaced ...

    A.無名関数をそのままコンストラクタとして使っているのだと思いますが、出番があるかと言われると、まず無いかと思います。これといった用途も思いつきませんし、使っている人を見たことが無いです。 例えば...

    A.自分は普段クラスベース言語をやらないので、質問者さんがどんなイメージでこのソースを書いたのかあまりわかりません でも、JSの「クラス」は普通のものと大きく違うと考えた方がいいです >このコード...

    A.とくに「@public」っていうコメントの書き方があるワケじゃなく、 単にそのコードを作成した人が、 自分なりのルール、 またはその人が所属しているグループのルールで書いてるだけ。 Javasc...

    6日前 -Generally speaking, a function is a "subprogram" that can be called by code external (or internal, in the case of recursion) to the function.

    2026/10/27 -All static properties and static methods from Math. Offers math constants, exponents and logarithms, angle functions, min/max, floor/ceiling, and more. See also ...

    3日前 -Challenge: Static Methods. Test your understanding of PHP Static Methods by completing a small coding challenge. Instructions.

    18時間前 -A static variable can be thought of as a local variable with memory. A static variable is a local variable whose lifetime is the lifetime of the entire module ...