MCQs
Total Questions : 50
| Page 4 of 5 pages
Answer: Option B. -> Character
None.
Answer: Option A. -> valueOf()
valueOf() returns true if the specified string contains "true" in lower or uppercase
Answer: Option C. -> isJavaIdentifierPart()
None.
Answer: Option B. -> isInfinite()
isInfinite() methods returns true if specified value is an infinite value otherwise it returns false.
Answer: Option B. -> isInfinite()
isInfinite() methods is defined in Integer and Long Wrappers, returns true if specified
Answer: Option D. -> Number
Number is an abstract class containing subclasses Double, Float, Byte, Short, Integer and Long.
Answer: Option A. -> isNaN()
isNaN() methods returns true if num specified is not a number, otherwise it returns false.
Answer: Option D. -> Number
Number is an abstract class containing subclasses Double, Float, Byte, Short,
Integer and Long.
Answer: Option D. -> Number
Number is an abstract class containing subclasses Double, Float, Byte, Short,
Answer: Option B. -> toString()
None.