Java - Tab space character ("\t") is not working! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Java - Tab space character ("\t") is not working!

The "\t" doesn't indent four space as expected, in the Java editor of SoloLearn. I tried the same code in Netbeans, and it works fine! I want to know how to indent four spaces! Further, I want to know how to print a char n number of times? [EDIT] In Java, C, C++, Python and JavaScript also, the tab character isn't working!!! Here is my code https://code.sololearn.com/cJ4b3UDvcthL/?ref=app

9th Mar 2018, 5:09 PM
777
777 - avatar
2 Answers
+ 14
I tried with c and c++ Tab space not working..in playground
9th Mar 2018, 5:42 PM
Hannah Grace
Hannah Grace - avatar
+ 3
@Full Gamer, still no tab spacing in the output!
9th Mar 2018, 5:40 PM
777
777 - avatar