how to blank an output screen?
i have started working with java a week ago however i have background with JavaScript.
my problem is that i don't know how to clear the output window so:
import java.util.Scanner;
public class hi5 {
public static void main (String args[]){
Scanner A = new Scanner (System.in);
//anything is put on the output
System.out.println("anything");
//the output will be anything, however now how do i erase this line from the output box?
//in addition when u input anything
int a = A.nextInt();
//the input value u have just typed stays on the screen after you have pressed the enter
//buttom, and i would like to know how to make the input value disappear when u enter it
}
}
help would be greatly appreciated, thx :=-: