load
load
load
load
load
load
load
load
Sugarcane will be shutting down on June 30, 2018. For more information, .

Java Chapter 4: Loops and Files

a data set by xnity
created February 27, 2016
COPY & EDIT
FAMILY TREE
Create a game to test your knowledge!
See all 0 games!
See fewer games
QuestionABCDAnswer
Which statement will *not* increment the variable "number"?number = number + 1;number += 1;number++;number+ = 1;D
Which statement will *not* decrement a variable called number?number- = 1;number = number - 1;number--;number -= 1;A
What will: number = 4; System.out.println(number++); Print out?4number56A
What will: number = 4; System.out.println(++number); Print out?number345D
What happens first in the second line of this code: int x = 1, y; y = x++;The variable x is incrementedIt assigns the value of x to the variable y1 is assigned to xy is converted to an integerB
What will: x = 2; y = x++; System.out.println(y); Display?2y3ErrorA
Ready to learn about Java Chapter 4: Loops and Files?