Can a Byte object be cast to a double value


Answered by Scott on 2005-05-12 09:24:14: Byte b = new Byte((byte)5); 
double d = b.byteValue(); 
System.out.println( "The double value is: " + d );

Showing Answers 1 - 1 of 1 Answers

Scott

  • May 12th, 2005
 

Byte b = new Byte((byte)5); 
double d = b.byteValue(); 
System.out.println( "The double value is: " + d );

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions