Java-基本输入输出

Scanner sc = new Scanner(System.in);
System.out.println("Please input the path:");
String path=sc.nextLine();
System.out.println("The input path is:"+path);

 

posted @ 2017-05-18 10:59  伍叶春  阅读(230)  评论(0编辑  收藏  举报