I want to list all the file and write the list to a .txt file by using Runtime from Java. And I did this :
File workDir = new File("/home/name/ghost/");
String cmd = "ls -l > data.txt";...
Type: Posts; User: silentbang
I want to list all the file and write the list to a .txt file by using Runtime from Java. And I did this :
File workDir = new File("/home/name/ghost/");
String cmd = "ls -l > data.txt";...
All I wanna ask is : if i have 3 for loops.can I say that there are 2 nested loops or it must be 1 heavily nested loop ? It's just the way of thinking but I need to make sure about it as I and my...