0
How to use escape sequence in java to create multi line output with a single line code
3 Réponses
+ 1
Dude u can use" \n" and "\t " for multi line output with a single input ...Store the inputs in a Arr and then prints its element one by one...like char arr[]="Hello World" The print statemant will be like --(arr[0]+"\n"+arr[1])... U got it right??
0
More emphasis need if possible with a given example