format - \t not consistent with spacing in Java -


so i've used this:

system.out.println("of race belong?\n[h]uman\t [e]lf\t [d]warf\t [o]rc\t [g]nome"); 

and gotten print random spacing \t has been placed. i've used same type of thing this:

system.out.println("which of following you?\n[w]arrior\t [r]ogue\t [m]agician"); 

and gotten spaced breaks \t. reason why give me such odd spacing 1st one?

\t tab. open regular text editor , check how tab behaves. indents position. not insert x number of spaces.


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -