inner33

inner33



void listJavaFiles (String dirName) {

File dir = new File (dirName) ; finał String ent = ".java";


StrJ^ig[] fnarnes = dir. list (new FilenameFilter ()    {

>ublic boolean accept (File directory, String fname) { return fnarne.endsWith (ent) ;

Access to a local variable from the enclosing błock. The variable mustbe declared finał



Wyszukiwarka