What output is produced by the following code fragment?

```
int num = 87, max = 25;
if (num >= max*2)
System.out.println("apple");
System.out.println("orange");
System.out.println("pear");
```


The second println statement is improperly indented, so the output produced is:
apple
orange
pear

Computer Science & Information Technology

You might also like to view...

The Format Cells dialog box can be used to apply a variety of different formats that are not displayed on the ________ toolbar

A) Quick Access B) Formatting C) Style D) Number

Computer Science & Information Technology

In the cell entry, =[Product.xlsx]Sales!$C$7, [Product.xlsx] refers to the ____.

A. cell reference B. worksheet name C. function name D. workbook name

Computer Science & Information Technology

Most programming languages allow you to ask two or more questions in a single comparison.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following cloud services provides data processing services, such as IoT services for connected devices, mobile and web applications, and batch-and-stream processing?

A. Function as a service (FaaS) B. Container as a service (CaaS) C. Security as a service (SECaaS) D. Identity as a service (IDaaS)

Computer Science & Information Technology