What is the result of the following code?
```
int x = 1;
int mysteryValue = 1;
while ( x < 6 )
{
mysteryValue *= x;
x++;
}
displayJLabel.setText( String.valueOf( mysteryValue ) );
```
The code displays the value 120 in displayJLabel.
Computer Science & Information Technology
You might also like to view...
The XML presentation files are essential to ensure that all of the table relationships and data types are preserved when the data is imported into another Access database
Indicate whether the statement is true or false
Computer Science & Information Technology
Which layer provides flow control and ensures data reliability from source to destination?
A. Physical B. Data Link C. Network D. Transport
Computer Science & Information Technology