I have function A, function B, and function C
I am trying to call one of these function randomly (A or B or C) from Main.
How can i go about doing it?
Can i put the functions in an arraylist called FunctionList
Then do the following?
int x = (int)(Math.random() * Functionlist.size());
FunctionCall = FunctionList.get(x)
If the number of functions is small, the easiest way would be a
switch,