Problems

Use the following problems to test your functional style programming prowess. I strongly encourage you to give each problem a try before you turn to the solutions and download the example programs:

  1. Writing functional interfaces: Write a program to define the road from 0 to a functional interface via a set of meaningful examples.
  2. Lambdas in a nutshell: Explain what a lambda expression is.
  3. Implementing the Execute Around pattern: Write a program that represents an implementation of the Execute Around pattern based on lambdas.
  1. Implementing the Factory pattern: Write a program that represents an implementation of the Factory pattern based on lambdas.
  2. Implementing the Strategy pattern: Write a program that represents an implementation of the Strategy pattern based on lambdas.
  3. Implementing the Template Method pattern: Write a program that represents an implementation of the Template Method pattern based on lambdas.
  4. Implementing the Observer pattern: Write a program that represents an implementation of the Observer pattern based on lambdas.
  5. Implementing the Loan pattern: Write a program that represents an implementation of the Loan pattern based on lambdas.
  6. Implementing the Decorator pattern: Write a program that represents an implementation of the Decorator pattern based on lambdas.
  7. Implementing the Cascaded Builder pattern: Write a program that represents an implementation of the Cascaded Builder pattern based on lambdas.
  8. Implementing the Command pattern: Write a program that represents an implementation of the Command pattern based on lambdas.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.60.63