約69,800件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:3か月以内
  • 6日前 -Static methods are often utility functions, such as functions to create or clone instances. Public static fields are useful when you want a field to exist ...

    2026/9/28 -Static and instance methods in Java define how methods belong to and interact with a class or its objects. A static method belongs to the class, ...

    6日前 -Instance methods and accessors are installed on the prototype property of the current class, and static methods and accessors are installed on the class itself.

    2026/10/16 -A normal var in a class is an instance variable: each object has its own. A static var belongs to the class instead: there is one value, shared by every object.

    2026/9/19 -We divide methods in static methods, and instance methods. Static methods are called directly on Object . Instance methods are called on an object instance ( an ...

    2026/10/21 -Static methods: Called on the class itself, not on instances. Instance methods: Called on object instances. Constructor methods: Special methods used to create ...

    2026/8/14 -Instance methods vs static methods. The methods above are instance methods: they need an object to run, because they act on that object's data. A static ...

    2026/9/21 -static name = value , written inside the class body, is one value shared by every instance, not a per-instance default. A static is read-only after declaration.

    2026/9/5 -If you do convert the method into a static function, instances of the class that call that particular method have to be converted to a static call as well.

    2026/9/28 -If a single mock uses different class implementations, instances created by earlier implementations lose access to their prototype methods once a newer ...