code.dreamsense.com

Console Input

public class Test {

  public static void main(String[] args) {
    String in;
    in = System.console().readLine();
    System.out.println(in);
  }
}

Kyle Eggleston
kyle@dreamsense.com
Copyright © 2003 - 2020