aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Basics (UGC)
  • Which of the following methods of Float class is used to ...
Multiple choice

Which of the following methods of Float class is used to return a true value if the invoking object contains an infinite value?

  1. hashCode()

  2. isNaN()

  3. isInfinite()

  4. toString()

  5. byteValue()

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

This method of Float class is used to return a true value if the invoking object contains an infinite value.

Keep practicing — related questions

  • Which of the following methods returns true, if the invoking object contains infinite values?
  • Which of the following methods returns the value of the invoking object as a byte?
  • Which of the following methods in Integer class returns a string that contains the decimal equivalent of th...
  • Which of the following methods of Method class returns true value if the object argument is an element of t...
  • The ____________ method in Java is used to return a string that contains the decimal equivalent of the invo...
  • Which of the following options is true? i. Float and Double classes have only one non-static method i.e. In...
  • Which of the following methods is used to return the primitive value of the boolean object in JavaScript?
  • Which of these methods are found in the Object Class?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy