What happens when you assigned a 'double' value to
a 'String'?
Answer Posted / paras bist
compilation fails ,
even for
double d=10.5;
String f=(String)(10.5);
"Cannot cast from double to String"
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Describe the term diamond problem.
What is java developer skills?
What is complexity and its types?
What is included in core java?
Write a java program to check if a number is prime or not?
What is the epoch date?
What are the differences between processes and threads?
What is map and hashmap in java?
What is an array in java?
Is java platform independent?
Define "Access specifiers" in java.
What is a class reference?
What is merge sort in java?
What are static initalizers in java ?
How does predicate work in java?