Multiple choice

Which of the following methods is not present in the AtomicInteger class in Java?

  1. addAndGet(int x)

  2. getAndSet(int Value)

  3. incrementAndGet()

  4. doubleValue()

  5. isInteger(int x)

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

This is the correct choice because there is no method named isInteger(int x) in AtomicInteger class.