Wrapper Classes: Integer and Double

AP Computer Science A· difficulty 3/5

Which is the wrapper class for the <code>int</code> primitive?

  • A

    Integer

    check_circle
  • B

    Int

  • C

    IntegerType

  • D

    INT

Explanation

<code>Integer</code> wraps int; <code>Double</code> wraps double; <code>Boolean</code> wraps boolean.

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

Related questions