What goes in the blank?
// a method callable without an instance
class MathUtil {
____ square(n) { return n * n; }
}
Answer: static
static puts the method on the class itself.
Play Problem Solving ▸
// a method callable without an instance
class MathUtil {
____ square(n) { return n * n; }
}
Answer: static