Java Reference
In-Depth Information
variable
declaration and
method call
FIGURE 4-9
2. Enter lines 24 through 36 as shown in Figure 4-8 on page 229.
TextPad displays a stub of the getSales() method in the coding window
(Figure 4-10). The closing brace for the class moves down to line 37.
Depending on your TextPad settings, line 31 may wrap at a different place
in your coding window or may not wrap at all.
showInputDialog()
methods to display
input dialog box
getSales()
method
FIGURE 4-10
 
Search WWH ::




Custom Search