A tab generally will advance the cursor to the next tab space. A common tab spacing is 8, so if you were to do something like so...
Code:
System.out.println("012345678901234567890");
System.out.println("a\tb");
System.out.println("abc\tdef");
System.out.println("abcdefghijklm\tnop");
You get a result similar to the following if the tab columns are every 8th place..
Code:
012345678901234567890
a b
abc def
abcdefghijklm nop
Note that a single tab will add white space up to the next tab column. (In this case the tab alignment is every 8 characters.)
So... if you want to make sure everything is alligned by using tabs, you'll have to know at what tab space each column is at, and how long each column you print out is, so that you know how many tabs you need to use in order to align the next column on the appropriate tab.
So for example, if you wanted to align the above, you'd need to use this instead.
Code:
System.out.println("012345678901234567890");
System.out.println("a\t\tb");
System.out.println("abc\t\tdef");
System.out.println("abcdefghijklm\tnop");
Results:
012345678901234567890
a b
abc def
abcdefghijklm nop