| Author |
formatting output in printstream
|
subhajit paul
Greenhorn
Joined: Dec 17, 2008
Posts: 17
|
|
hi all, lets say i have a byte array declared as: when i use i get an output like: 2a a can anyone suggest how to format my output as : 2a 0a and when line 2 is changed to : when i get an output like: 2a a? TIA
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
|
|
|
It's in the Java Tutorials. Look half-way down the page.
|
 |
 |
|
|
subject: formatting output in printstream
|
|
|