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
when to use ArrayList and when to use HashMap in webApplication.
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
What are recursive functions? Give some examples?
What is hashtable and explain features of hashtable?
How can we achieve thread safety in java?
Write a function to find out longest palindrome in a given string?
What is close method? How it's different from Finalize & Dispose?
Why is the main method static?
Is java an open source?
How does list work in java?
How is tree Mirroring implemented?
Are there structures in java?
Difference between default and protected access specifiers?
What is private static in java?
Can you explain the private protected field modifier?