code: public static void main(String[] args) {
          DirectoryIterator iter = new DirectoryIterator(args);
          while(iter.hasNext())
              System.out.println(iter.next().getAbsolutePath());
      }
docs: Command line method to walk the directories provided on the command line
  and print out their contents
  
  @param args Directory names