fork download
  1. class Ejemplo1 {
  2. public static void main(String[] args){
  3. int e1;
  4. try {
  5. //lectura de los datos
  6. } catch (Exception e) {
  7. System.out.println("No es posible abrir el fichero");
  8. }
  9. //Uso de los datos
  10. }
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:5: error: cannot find symbol
			FileInputStream f = new FileInputStream("");
			^
  symbol:   class FileInputStream
  location: class Ejemplo1
Main.java:5: error: cannot find symbol
			FileInputStream f = new FileInputStream("");
			                        ^
  symbol:   class FileInputStream
  location: class Ejemplo1
2 errors
stdout
Standard output is empty