Lambdas in Java 8

Todays Quiz :

Write a function which returns all the files with a particular extension in a given directory.

Implement the following method and print them.

List<File> printAllFiles(String filePath,
               String extension);

Continue reading “Lambdas in Java 8”