If i want to create a list of variables(boolean), is it possible to say
public Button(int num)
{
boolean ("b" + num) = true;
}
Thanks in advance
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)
Map<String, Boolean> map = new HashMap<>(); map.put("this", true); map.put("that", false); map.put("other", true);