Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

Commonmark migration
Source Link

On Java 6, you can use the Console class for that. Specifically, the readLine method. From the API:

public String readLine(String fmt, Object... args)

 Provides a formatted prompt, then reads a single line of text from the console. 

On Java 6, you can use the Console class for that. Specifically, the readLine method. From the API:

public String readLine(String fmt, Object... args)

 Provides a formatted prompt, then reads a single line of text from the console. 

On Java 6, you can use the Console class for that. Specifically, the readLine method. From the API:

public String readLine(String fmt, Object... args)

 Provides a formatted prompt, then reads a single line of text from the console. 
Source Link
PaoloVictor
  • 1.3k
  • 8
  • 18

On Java 6, you can use the Console class for that. Specifically, the readLine method. From the API:

public String readLine(String fmt, Object... args)

 Provides a formatted prompt, then reads a single line of text from the console. 
lang-java

AltStyle によって変換されたページ (->オリジナル) /