I need to translate a program I have in python to Java. I ran across a problem that made me wonder about the basic functionality of the Java.
In python, you can reassign a function to a new name. So for instance, i can do
In Java, can I do something similar to this?Code:def test(info): print info tmp = test tmp(A) #prints variable A via test function