how can i use clrscr() in java programming??????

Recommended Answers

All 4 Replies

What is clrscr()?

What is clrscr()?

ClearScreen (I assume).

@OP

System.out.println() about 100 times, or JNI.

but you shouldn't.
NEVER assume you have sole control over the terminal.

but you shouldn't.
NEVER assume you have sole control over the terminal.

Correct. I was hoping he would take the hint, that when you have to go so far out of your way to do something so seemingly simple, that it is either not worth it, or not truely desired. ;-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.