<Enhanced interface implementation> Functional int...
# forum
r
Enhanced interface implementation Functional interfaces are great - being able to declare fun interface AnInterface { fun aFunction() } // sometime later AnInterface { } really clarifies the code. The ability to just declare the instance of an interface is very concise. Why when we have more than one function to we need the syntax object: AnotheInterface { } instead of AnotheInterface { } 1 post - 1 participant <a...