Skip to main content

Timeline for answer to Array of Buttons in Java by Alexander

Current License: CC BY-SA 3.0

Post Revisions

4 events
when toggle format what by license comment
Mar 2, 2014 at 12:40 vote accept Lara
Mar 2, 2014 at 12:22 comment added Alexander Yes, but you have 3 buttons, not 2. When defining array you specify its size therefore 3. And having declared it you have button[0], [1] and [2]
Mar 2, 2014 at 12:22 comment added Lara I thought counting of arrays starts at 0 ?
Mar 2, 2014 at 12:21 history answered Alexander CC BY-SA 3.0