Support for default method implementation in interfaces - OpenEdge Development - Products Enhancements - Progress Community

 OpenEdge Development

Support for default method implementation in interfaces

"Java 8 introduces the “Default Method” or (Defender methods) feature, which allows the developer to add new methods to the interfaces without breaking their existing implementation. It provides the flexibility to allow interface to define implementation which will use as the default in a situation where a concrete class fails to provide an implementation for that method." (https://dzone.com/articles/interface-default-methods-java)

This would be a great feature to add to the ABL

See also https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html

Comments