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

Detail discussions on JVM, memory management and garbage collector.

750


What methods are used to get and set the text label displayed by a button object?

786


What is boolean keyword in java?

871


How do you escape in java?

813


How to display names of all components in a Container?

2707


Why are data types important?

776


Highest level event class of the event-delegation model?

3713


Can a abstract class be defined without any abstract methods?

788


What is percentage in java?

772


Explain about narrowing conversion in java?

777


Why declare Main() method as a static in java ?

823


Is java jre still free?

724


What is meant by distributed application? Why are we using that in our application?

761


What is assembly used for?

779


What does the “final” keyword mean in front of a variable? A method? A class?

778