This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
java:class_file [2016/03/18 15:46] gthanos [Παραδείγματα] |
java:class_file [2016/03/18 15:47] gthanos [Παραδείγματα] |
||
---|---|---|---|
Line 61: | Line 61: | ||
public class CurrentDirList { | public class CurrentDirList { | ||
public static void main(String []args) { | public static void main(String []args) { | ||
- | if( args.lengh() == 0 ) { | + | if( args.length == 0 ) { |
System.out.println("Insufficient number of arguments!"); | System.out.println("Insufficient number of arguments!"); | ||
return; | return; |