Can a Byte object be cast to a double value?

Answer Posted / rajesh dangi

Byte object can not be casted into primitive type. What we
can do is to create a double variable and get the value of
Byte object converted to it. There are many vays to do that

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is enumset?

587


Can you declare a private method as static?

700


What is bigger kb or mb?

589


is it possible to instantiate the math class?

535


What is the covariant return type?

582






What is == and === in javascript?

561


What are sets in java?

508


Can we cast any other type to boolean type with type casting?

543


What are the types of web technologies?

531


Is java util list serializable?

541


What is the purpose of void?

540


How does compareto work in java?

581


Explain the difference between intermediate and terminal operations in java8?

571


Explain the key functions of data binding?

586


Write a program to calculate factorial in java?

586