What happens when you assigned a 'double' value to
a 'String'?
Answer Posted / ravikiran(aptech mumbai)
compilation fails
double d=10.5;
String f=(String)(10.5);
will work
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Why java is said to be pass-by-value ?
what is session in java?
What is navigable map in java?
What is the basic concept of java?
Why pointers are not used in java?
Can we extend private class in java?
What is multithreading in java?
What does exp mean in math?
Explain about the main() method in java?
What is the difference between class & structure?
Why are generics used?
What is the maximum size of arraylist in java?
What is the use of callablestatement?
What is mysql driver class name?
How to make object serializable in java?