I want to map the buttons to an array of buttons and the code has no errors while compiling but there is force close when i run it:
Button buttons[]; @Overr
Button buttons[] = null;
button has to be created, using the new operator:
new
Button buttons[] = new Button[9];