Pass method as parameter

Class method can be passed as parameter in function by binding the method