+ 1
is it possible to have a multi-line display in console without having to write its text in several methods :system.out.println()
I'll would to know how to have the same output result in multi-line as follows: system.out.println("hello I'm happy to code");//output: hello I'm // first ligne happy //second ligne to code // third ligne
2 Réponses
+ 3
use \n line separator
System.out.println("hello I'm happy \nto code");
+ 1
thank I have try and it's walk