Can a Byte object be cast to a double value?

Answer Posted / shweta

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

Is This Answer Correct ?    19 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are parsing rules?

495


Break statement can be used as labels in java?

548


What is the difference between multiple processes and multiple threads?

570


What is included in core java?

574


What are new features introduced with java 8 ?

546






Name and explain the types of ways which are used to pass arguments in any function in java.

564


What is the difference between jvm and jre? What is an interface?

544


What does int argc char * argv [] mean?

507


Why do we need hashset in java?

487


What is jit and its use?

575


Can you declare a private method as static?

686


How do you check if a number is a perfect square?

506


How to optimize the javac output?

590


How to display all the prime numbers between 1 and 100

496


Is call by reference possible in java?

527