How can a number be converted to a string?

Answer Posted / hrpynux@gmail.com

We can convert int to String in java using String. valueOf() and Integer. toString() methods. Alternatively, we can use String.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a function declared as pascal do differently?

809


What is bash c?

763


Define circular linked list.

785


What is preprocessor with example?

784


What is #pragma statements?

840


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1030


Explain why c is faster than c++?

811


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1873


How do you declare a variable that will hold string values?

923


What are the different types of endless loops?

828


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

804


What is pointer to pointer in c with example?

745


Why c language is called c?

746


What are multidimensional arrays?

870


What are the two forms of #include directive?

864