Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can a Byte object be cast to a double value?

Answers were Sorted based on User's Feedback



Can a Byte object be cast to a double value?..

Answer / 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

Can a Byte object be cast to a double value?..

Answer / shweta

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

Is This Answer Correct ?    19 Yes 9 No

Can a Byte object be cast to a double value?..

Answer / 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

More Core Java Interview Questions

What is the maximum size of byte array in java?

0 Answers  


Define an abstract class with reference to java.

0 Answers  


What is garbage collection? Can it be forced to run?

0 Answers   Global Logic,


what is the diff b/w arraylist and vector?

6 Answers   Code Genesis, Genesis, Sprintine Labs,


What is an event?

2 Answers  


what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0

2 Answers  


What is array sorting in java?

0 Answers  


What is Overriding and how can it be used?

7 Answers   Consagous, Wipro,


Why we need to serialize the object

11 Answers   CTS, Geometric Software,


How will you override default serialization mechanism in java

2 Answers  


Why do we need singleton class?

0 Answers  


What are order of precedence and associativity, and how are they used?

1 Answers  


Categories