Can a Byte object be cast to a double value?

Answer Posted / roshan

yes, a byte object can be cast into double value. This is
done through auto-boxing concept of java that was
introduced in jdk 1.5.0. Using auto-boxing we can assign a
object into preemitive value and preemitive into object.

Is This Answer Correct ?    25 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we sort hashmap in java?

524


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

559


Why convert an applet to an application?

611


Explain abstract class in java?

552


What are mutable classes?

517






What is connection class in java?

502


What do you mean by stack?

631


What is final?

599


What is the purpose of encapsulation?

534


How variables are declared?

510


can used Protected Class outside Function.?

607


Can we make the abstract methods static in java?

579


What 4 doubled?

536


What is the set interface in java programming?

621


Are static members inherited to sub classes?

634