How to overrite output in console.
example
for(int i=0;i<10;i++)
{
System.out.println("value of i"+i);
}
i want output should come in one line. means move the cursor back and then print after each iteration
Printable View
How to overrite output in console.
example
for(int i=0;i<10;i++)
{
System.out.println("value of i"+i);
}
i want output should come in one line. means move the cursor back and then print after each iteration