Java Reference
In-Depth Information
2. Press the ENTER key. Type 145 in response to the second prompt.
The command prompt window displays the second prompt and user
response (Figure 3-22).
user inputs
second value
FIGURE 3-22
3. Press the ENTER key.
The output message is displayed (Figure 3-23).
output message
displays on
one line
Close
button
FIGURE 3-23
OTHER WAYS
4. Click the Close button in the command prompt window title bar.
The command prompt window closes.
1. Press CTRL + 2
2. At command
prompt, type java
BodyMass
 
Search WWH ::




Custom Search