Answer the question
In order to leave comments, you need to log in
How to add text to the output stream?
How to make it so that the desired text is already displayed on the keyboard input sentence?
System.out.print("Ваш ввод: ");
String value = new Scanner(System.in).nextLine();
Ваш ввод:
Ваш ввод: ТЕКСТ
Answer the question
In order to leave comments, you need to log in
In sharps, this is done by Console.GetCursor, I'm sure that Java has the same thing. Both reading the current cursor position and moving the cursor to the desired position
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question