I have a problem in simple looping, for example i want to go to the last child
using for loop or while loop.
more clearly, if i am browsing the file system using for loop i.e.,
File files[] = new File("C:\\").listFiles();
for(int i=0;i<files.length;i++)
{
System.out.println(files[i].getAbsolutePath());
}
this few lines of coding will give output of the files/folders in root of "C:"
but i want to loop inside each and every folder in root, even that folder
containing few more sub-folders i want to go inside to that till last folder.
i know there will be some easy way to do this, :)