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

we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?

4 Answers   IBM,


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

0 Answers  


What is the symbol for average?

0 Answers  


Why java doesn’t support multiple inheritances?

0 Answers  


What if I write static public void instead of public static void in java?

0 Answers   Winsol Solutions,


What is the difference between notify and notifyall method?

0 Answers  


What is an image buffer?

0 Answers  


can we have virtual functions in java?

11 Answers   Wipro,


What is Overriding and how can it be used?

7 Answers   Consagous, Wipro,


How does compareto method work?

0 Answers  


What is vector?

0 Answers  


Difference between string, string builder, and string buffer?

0 Answers  


Categories