Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.File;
- public class Exo13 {
- /**
- * @param args
- */
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- File f = new File ("./src");
- String [] liste = f.list();
- for (int i = 0; i < liste.length; i++) {
- System.out.println (liste[i]);
- }
- }
- }
Add Comment
Please, Sign In to add comment