
I have a number of methods that do the almost same thing:
public void setColorRed (int colorvalue);
public void setColorYellow (int colorvalue);
public void setColorBlue (int colorvalue);
Is there a way to place these methods in a list and then call each one from the loop using the same colorvalue?
for
Thanks in advance.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.