Tag Archives: parameter

Void function as argument in Java and Scala

Simple example¬†shows how to pass a function to a method. The function doesn’t have argument and doesn’t return a result. Advertisements

Rate this:

Posted in java, Programming, Scala | Tagged , , , , , , | Leave a comment