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
How many types of keywords are there?
How to sort array in descending order in java?
Is namespace same as package in java?
Is char * a string?
Why is method overloading not possible by changing the return type in java?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is the difference between inheritance and encapsulation?
How does system arraycopy work in java?
What happens if we override private method?
What is the purpose of finalization in java programming?
What is difference between jdk,jre and jvm?
Can we convert list to set in java?
How many types of the indexof method are there for strings?
What is collection class in java?
What is a void in java?