clear screen code in Java.


The only way to do it in Java is:

for (int x = 0; x < 50; x++) {
    System.out.println("n");
}

You could also do System.out.println(" ") or anything similar. 

    No comments:

    Post a Comment