You are viewing a single comment's thread. Return to all comments →
\t is tab
\t is horizontal tab that is equivalent to 4 spaces at a go
i think tab gives only 3 spaces
tab is a tab. It could be presented as 3, 4 or more spaces. Depends on the text editor, browser, etc. But most cases it's 4 spaces
Java Output Formatting
You are viewing a single comment's thread. Return to all comments →
\t is tab
\t is horizontal tab that is equivalent to 4 spaces at a go
i think tab gives only 3 spaces
tab is a tab. It could be presented as 3, 4 or more spaces. Depends on the text editor, browser, etc. But most cases it's 4 spaces