• Post Reply Bookmark Topic Watch Topic
  • New Topic

2 questions-  RSS feed

 
Amrita Dole
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. How do I clear the screen in JAVA? I mean is there something like clrscr() as in C?
2. I want to accept the password from the console. How do I prevent it from being visible to the user?
Thanks.
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amrita
JGuru's this thread
adresses your 2nd question. Answer is "no". We can't disable the echo of System.in.read() thing
For your first question,
this
old thread here might help...

Regards
Maulin
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!