What is the output produced by the following lines of code?
```
int value1 = 3;
int value2 = 4;
int result = 0;
result = value1++ * value2--;
System.out.println("Post increment/decrement: " + result);
result = ++value1 * --value2;
System.out.println("Pre increment/decrement: " + result);
```
Post increment/decrement: 12
Pre increment/decrement: 10
Computer Science & Information Technology
You might also like to view...
Corporate blogs are used to enhance internal communications or for external marketing
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following file types cannot be opened by Microsoft Paint?
A. Windows Bitmap B. Word document C. GIF D. JPEG
Computer Science & Information Technology