+ 1
Can anyone please help me with this....it is not working in sololearn......
public class Program { public static void main(String[] args) { System.out.print('/f'); System.out.println("\n\n\t\t\tIt is the program.To illustrate you .....working of (/f)for clearing output window......"); System.out.println("\n\n\t\t\tThanks"); } }
4 Answers
+ 2
single quotes in the first print statememt
+ 1
Nirmal it's a program to clear the output screen...
and single quotes is used in that...
if you will run the code then only you will understand....
I don't want to print /f on the screen...
0
And when I ran it, I noticed the slash was the wrong direction on "f". Should be \f.
0
thanks Jim.......



