+ 2

\n means next line then what is \t means??

15th Aug 2017, 10:35 AM
corejava
6 Antworten
+ 9
\t refers to tabulation, or simply known as tab. It places tab indentation to your string literal.
15th Aug 2017, 10:35 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
This may help \a alert (BEL) \b backspace \t horizontal tab \n line feed \v. vertical tab \f form feed \r carriage return \" " (double quote) \' ' (single quote) \\ (backslash) \ooo terminating character (up to 3 octal digits) \0 null
15th Aug 2017, 11:31 AM
RZK 022
RZK 022 - avatar
+ 3
@corejava check the cofeplayground there is a 'tab' key try it.
15th Aug 2017, 11:03 AM
Lord Krishna
Lord Krishna - avatar
+ 1
thank u atikrant negi
15th Aug 2017, 11:32 AM
corejava
0
tab Means whether it leaves big spaces??
15th Aug 2017, 10:40 AM
corejava
0
right
15th Aug 2017, 11:27 AM
Medhat Youssef
Medhat Youssef - avatar