Which of these methods is not defined in both Byte and Short wrappers?
A. intValue()
B. isInfinite()
C. toString()
D. hashCode()
Answer:A
Which of these methods is not defined in both Byte and Short wrappers?
A. intValue() B. isInfinite() C. toString() D. hashCode()
Explanation: isInfinite() methods is defined in Integer and Long Wrappers, returns true if specified value is an infinite value otherwise it returns false.