What is wrong with the following statement? Provide the correct statement to add one to the sum of x and y.

```
System.out.println(++(x + y));
```

```
++ can be applied only to a variable—not to an expression with multiple terms. The correct statement is System.out.println( x + y + 1 );
```

Computer Science & Information Technology

You might also like to view...

PCs that run some version of the Windows or Linux operating systems constitute over ________ percent of the U.S. market share

Fill in the blank(s) with correct word

Computer Science & Information Technology

A list of rules that identify suspected spam messages in Vista is called a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology