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

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -