Using the Math Class

AP Computer Science A· difficulty 3/5

<code>Math.sqrt(16)</code> is called as

  • A

    Instance method (object.method)

  • B

    Constructor

  • C

    Static method (ClassName.method)

    check_circle
  • D

    Field access

Explanation

<code>Math</code> methods are static.

Want 10 more like this — adaptive to your weak spots?

Related questions