Interview Solution

Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‘How can I improve the code so that this comment isn’t needed? Steve McConnell

Number to String

Language Java | Level Intermediate | Category Interview Problems | July 24, 2015 4:52 pm

Comments


Interview Problem

Convert number to string without using the in-build functions.
Write program to convert from number to string without using API
Example:-
Given string "42" return 42


Output

   					 
Converted 123 from integer to string:123_
Converted 123 from integer to string using API:123


				    

Comments



Please login to add comments.