This code displays text in integer1JTextField, double1JTextField, and integer2JTextField. What is displayed in these JTextFields?
```
1 private void pickRandomNumbers()
2 {
3 Random randomObject = new Random();
4
5 int number1 = randomObject.nextInt();
6 double number = 5 * randomObject.nextDouble();
7 int number2 = 1 + randomObject.nextInt( 11 );
8 integer1JTextField.setText = String.valueOf( number1 );
9 double1JTextField.setText = String.valueOf( number );
10 integer2JTextField.setText = String.valueOf( number2 );
11
12 } // end method pickRandomNumbers
```
This code displays a random int in integerJTextField, a random double in the range 0.0 to less than 5.0 in double1JTextField, and a random int from 1 up to and including 11 in integer2JTextField.
You might also like to view...
Data sent to devices such as a printer, modem, or display screen is called ____________________.
Fill in the blank(s) with the appropriate word(s).
Which of the following statements is false?
a. A reference to an object is required to invoke an object’s methods. b. A primitive-type variable does not refer to an object. c. Reference-type instance variables are initialized by default to the value void. d. A primitive-type variable cannot be used to invoke a method.
Using ________ is a simple way to provide professional, consistent formatting
Fill in the blank(s) with correct word
Scenario Manager can be set to maximize the objective cell
Indicate whether the statement is true or false