I'm new to java.
Please help me with these two questions:
1. How to count no of words in a file.
2. How to list all the files present in an particular directory.
Please help me with these two questions:
1. How to count no of words in a file.
2. How to list all the files present in an particular directory.