While good software design often maximizes code reusability, sometimes it can be useful to define asynchronous tasks inline in your code via Lambda expressions to maximize code readability.
In this example, we will create a single class which contains a main() method. Inside this method, we will us...