Per comments, I believe you are looking for a way to accept user input in one thread, while simultaneously writing output to different location in the terminal with another thread. As mentioned in comments, this does not make much sense in a simple I/O terminal. A standard terminal doesn't have the concept of "location" beyond where bytes were received/output in a stream.
Hopefully you understand now that your question is unclear and depends on what you want to do.
The most common approach for this type problem is probably to create a custom GUI terminal using Swing or JavaFX. You would have a text field accepting your input, and a separate text area displaying your output.
If wanting to stay with a text interface, then maybe look in to curses like options. Examples here: What's a good Java, curses-like, library for terminal applications?
Redirecting standard output/input with Java is not always trivial, but you'll need to ask new, more specific, questions to get more help if you go that direction.