February 2014
Beginner
1248 pages
62h 25m
English
The System.out.printf method (f means “formatted”) displays formatted data. Figure 2.6 uses this method to output on two lines the strings "Welcome to" and "Java Programming!".
Welcome toJava Programming!
Fig. 2.6 | Displaying multiple lines with method System.out.printf.
Lines 9–10 ...
Read now
Unlock full access