DEVFYI - Developer Resource - FYI

Can a Byte object be cast to a double value?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

243. Can a Byte object be cast to a double value?

No, an object cannot be cast to a primitive value.

(Continued on next question...)

Other Interview Questions