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

How we can run a jar file through command prompt in java?

749


What about main thread in java?

887


What is the preferred size of a component in java programming?

769


Difference between process and thread?

842


What are untrusted applets?

858


When do you get classcastexception?

802


What is constructor and virtual function? Can we call a virtual function in a constructor?

921


What is finalize method?

850


Convert a BST into a DLL and DLL to BST in place.

893


What does isempty () do in java?

832


What do you mean by chromounits in java8?

739


What is hash code collision?

830


What is bool mean?

771


Can we declare an array without size in java?

736


Which package is used for pattern matching with regular expressions?

884