How many radio buttons can be selected at the same time as the result of the following code?

```
hours = new JRadioButton("Hours");
minutes = new JRadioButton("Minutes");
seconds = new JRadioButton("Seconds");
days = new JRadioButton("Days");
months = new JRadioButton("Months");
years = new JRadioButton("Years");
timeOfDayButtonGroup = new ButtonGroup();
dateButtonGroup = new ButtonGroup();
timeOfDayButtonGroup.add(hours);
timeOfDayButtonGroup.add(minutes);
timeOfDayButtonGroup.add(seconds);
dateButtonGroup.add(days);
dateButtonGroup.add(months);
dateButtonGroup.add(years);

```

A) 1
B) 2
C) 3
D) 4

B) 2

Computer Science & Information Technology

You might also like to view...

________ can bring up additional menus and mimic traditional mouse actions such as double-clicking

A) Moves B) Clicks C) Flicks D) Touches

Computer Science & Information Technology

The most commonly used control is the ________ control which displays data from a field in the underlying table

Fill in the blank(s) with correct word

Computer Science & Information Technology