📄 applineinout.java
字号:
package javabook.lecture1.myguitest;import java.io.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class AppLineInOut { public AppLineInOut() { } public static void main(String[] args) { String s=""; AppLineInOut appLineInOut1 = new AppLineInOut(); System.out.print("Please enter a string : "); try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); s = in.readLine(); }catch(IOException e){} System.out.println("You've entered string : " + s); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -