Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clear screen

 
swapnil dey
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey can someone tell me equvivalent of clrscr() of C / C++ in java.
 
Vijay Vaddem
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In what scenario would you like to use this feature??
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be this can be achieved using a .bat file in windows or .sh in unix flavours

Like: startProgram.bat

@echo off
cls
java myJavaFile


Now run the batch file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic