of using i in the first iteration? iterate it with : or even stream
Hi Summary: I want to count number of elements in a directory and its subdirectories without recursion Complete: It first takes a parent directory from user then change the position to other subdirectories if directory exists and in each subdirectory counts the number of files and add them to totalfiles And at last returns total number of files with totalfiles var
Обсуждают сегодня