Can any body please tell me what code is used for clear screen in Java? For example in C++
system(\"CLS\");
What code is used in Java for
This will work if you are doing this in Bluej or any other similar software.
System.out.print('\u000C');