Hello, I have done some java, but I mostly do python3, and in python3 you can add a function to a list:
Code: Select all
>>> def test():
>>> testList = 
So my question is: is there a way to do this, (or something like it), in java?