+ 1
How do you colour your output here in Sololearn when coding with Java.
2 Respuestas
+ 10
There's probably a standard way through one of the GUI libraries to do colours, but they are not support by Code Playground. Generally speaking, colouring text on a console is not part of the language standard. It would depend on the console, and that's not doable on Code Playground either.
Here are a few things you can try if you're on desktop.
https://stackoverflow.com/questions/5762491/how-to-print-color-in-console-using-system-out-println
+ 1
thanks a lot.