UP | HOME
2015-10-05 | ../../ | Slides

Miscellaneous Java8 and Less Noticed Old Features

  1. Oracle.com, Security Enhancements in Java8

1 Anonymous Classes

2 Delegates

  1. Java does not have the delegate keyword (unlike C#). But the idea can be implemented.
  2. https://en.wikipedia.org/wiki/Delegation_pattern

3 Interfaces with Methods

  1. Virtual Extension Methods
  2. Previously called: default methods, or defender methods.
  3. Similar but not as powerful as Scala traits.
  4. Interfaces can now define static methods: default methods
  5. http://www.lambdafaq.org/what-are-default-methods/

Copyright © 2015 www.wright.edu/~pmateti