devxlogo

November 8, 2000

Using “sprintf” function in Java

In C, the “sprintf” function will format a string, including integer values, to a specific length. For example, you could do “sprintf(%2d)”; and it would show 00 as part of

Learn Java from the Source

I’m continually suprised by the number of veteran Java programmers(those with more than six months’ experience) I encounter who aren’taware that the full source code for the standard Java libraries