Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these methods is used to check for infinitely large and small values?
  2. A.
    isInfinite()
    B.
    isNaN()
    C.
    Isinfinite()
    D.
    IsNaN()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    isinfinite() method returns true is the value being tested is infinitely large or small in magnitude.


Be The First To Comment