Happy new year everyone!
I have the following exercise for my Programming courses:
Write a class named Imbauba. Class must contain the following method:
A public method named dit which has a parameter (Function Float, Float type) named dawnward and returns Fuction Float, Float result. Lambda function which is returned must contain the value of dawnward divided by 67
public class Imbauba {
public Function<Float, Float> dit(Function<Float, Float> dawnward) {
Function<Float, Float> sss = (a) -> dawnward / 67F;
return sss;
}
}
This is what I've done so far. I have no clue how to continue. Can anyone guide me close to the solution? Thanks in advance