I'm trying to write a method in java that passes in another method as a parameter.
This is the method call in main:
    Functions.print("total",Functions.compute(scoreArray),Functions.find(scoreArray));
So far i have this as the method signature:
    public void print(String str, ...)
I have the compute and find methods already written. I don't know how to input them as parameters.
 
     
     
     
    