Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

substitute for getch() , clrscr()

807600Nov 5 2007 — edited Nov 6 2007
Question/ Objective / Doubt:

is there any substitute for getch(), clrscr( ) which is widely used in c++

or
should i use these two line for the single word getch();
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
br.read()
i couldn't guess anything for clrscr()

I Think/ Hope / Guess:
i hope there wold be something similar in Java



Jesh
Share knowledge; Grow together;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2007
Added on Nov 5 2007
18 comments
341 views