Static Variables and Methods

AP Computer Science A· difficulty 4/5

<code>Math.max(Math.min(3, 7), 5)</code> returns

  • A

    7

  • B

    5

    check_circle
  • C

    3

  • D

    10

Explanation

Inner: min(3,7) = 3. Outer: max(3, 5) = 5.

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

Related questions