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


Please Help Members By Posting Answers For Below Questions

What is java thread dump, how can we get java thread dump of a program?

578


What are the drawbacks of singleton class?

542


What is the difference between throw and throws in java?

559


Explain scope or life time of local variables in java?

562


What is field name?

588






What are the steps in the jdbc connection?

576


What are the basic control structures?

501


What is the purpose of sizeof operator?

532


Difference between method overloading and method overriding in java ?

578


How variables are declared?

518


How objects are stored in java?

550


What is difference between overloading and overriding in java?

531


What are different types of states exist for a thread?

553


Difference between final and effectively final ? Why is effectively final even required ?

562


What are the advantages of compiled language?

579