+ 1

Java " "

System.out.println(a + " " + b); The " " is a tab or what?

22nd May 2019, 2:30 AM
Tzion
Tzion - avatar
2 Réponses
+ 4
That would be a space. The tab character is "\t".
22nd May 2019, 2:50 AM
Komodo64
Komodo64 - avatar
+ 3
It's a space. Tabs are also whitespaces but yeah it is different from space.
22nd May 2019, 3:16 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar