Which of the following values for q will result in kiwi being included in the output?

```
switch(q) {
case 1:
System.out.println("apple");
break;
case 2:
System.out.println("orange");
break;
case 3:
System.out.println("banana");
break;
case 4:
System.out.println("pear");
case 5:
System.out.println("grapes");
default:
System.out.println("kiwi");
}
```

a. 2.
b. Any integer less than 1 and greater than or equal to 4.
c. 1.
d. 3.

b. Any integer less than 1 and greater than or equal to 4.

Computer Science & Information Technology

You might also like to view...

All macros are created in a programming language called ________ for Applications

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is not an advantage of NTFS over FAT32?

A. NTFS supports file encryption. B. NTFS supports larger file sizes. C. NTFS supports larger volumes. D. NTFS supports more file formats.

Computer Science & Information Technology