ex2.java
来自「讲述各种各样的java初始编程 了解编程」· Java 代码 · 共 28 行
JAVA
28 行
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package chenchao5;import java.io.*;/** * * @author williechen */public class Ex2 { public static void main(String[] args) { try { File f = new File(args[0]); FileReader fr = new FileReader(f); }catch (IOException ioe) { System.out.println(ioe.toString()); } catch (Exception e) { System.out.println(e.toString()); } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?