Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to clear the cmd?  RSS feed

 
n.chenththuran
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to find out how to clear an msdos screen using java. can anyone write a small example for me
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for(int x = 0; x < 30; x++) System.out.println();
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!