1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with java to String?

Discussion in 'Programming' started by Shamim, May 25, 2015.

  1. Shamim

    Shamim Member

    I'm trying to convert a int to a string in java, but when i print it out via my main method i can't use any zeros in front of it, it's flagging up as red. Example, i can't print "0019" how do you go around fixing this? i need it to do it like this so i can remove certain numbers from my array.
     

Share This Page