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 the difference between length and length() method in java?

656


What are the advantages of java inner classes?

567


How many boolean functions are there?

516


How define set in java?

523


How hashmap increases its size in java?

501






What is a arraylist in java?

569


What is default switch case? Give example.

578


What is the purpose of default constructor?

588


What is final keyword in java?

560


What are data structures in java?

537


What are the four versions of java?

560


What is jit and its use?

595


What are the supported platforms by java programming language?

578


Does set allows null in java?

516


explain local datetime api in java8?

566