I am trying to have optional parameters in my method. I found the bolean... test, and it works. But whenever I try with a sencond one, it doesn't work.
Is there a possibility to put two or more (of same type eg: 2 option booleans)
Code: What I have now:
public void addJButton(boolean... yo){}
What I want:
public void addJButton(boolean... yo, boolean... yo2){}