What happens when you assigned a 'double' value to
a 'String'?
Answer Posted / pankaj
use toSting() method for printing double value as String or
assigning to string variable
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate between overriding and overloading cases?
Why method overriding is used?
Why do we use return statement?
How listener identify that the event came from a particular object?
What is the purpose of the runtime class in java programming?
Can we have multiple classes in single file ?
What are the two ways in which thread can be created?
Explain about main thread in java?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What do you mean by platform independence? What is an interface?
What is difference between float and double?
Why are functions called methods in java?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
What comes to mind when someone mentions a shallow copy in java?
What is the purpose of the main method?