Using the Math Class

AP Computer Science A· difficulty 2/5

<code>Math.PI</code> is

  • A

    An object

  • B

    A method

  • C

    An instance variable

  • D

    A static constant approximately 3.14159

    check_circle

Explanation

<code>Math.PI</code> is <code>public static final double</code>.

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

Related questions