集册 Java实例教程 吞咽异常

吞咽异常

欢马劈雪     最近更新时间:2020-01-02 10:19:05

489
吞咽异常

import java.io.FileInputStream;
/**
来 自 NowJava.com - 时  代  Java
**/

import java.io.FileNotFoundException;


public class Main {

  public static void openFile(String name) {

    try {

       FileInputStream f = new FileInputStream(name);

    } catch (FileNotFoundException e) {

    }

  }

}