java:class_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
java:class_file [2016/03/18 21:05]
gthanos [Παράδειγμα 2]
java:class_file [2016/03/18 21:07]
gthanos [Παράδειγμα 2]
Line 98: Line 98:
     File f = new File("​./"​+args[0]);​     File f = new File("​./"​+args[0]);​
     if( !f.exists() ) {     if( !f.exists() ) {
-      f.createNewFile();​+      ​try { 
 +        ​f.createNewFile();​ 
 +      } catch( Exception ex ) { 
 +        ex.printStackTrace();​ 
 +      }
     }     }
   }   }
java/class_file.txt · Last modified: 2017/02/17 07:58 by gthanos