Literals Flashcards
1
Q
Formatting Console Output
A
E.x: Print: w=9 x=1 y=4 z=7
System.out.printf(āw=%5d x=%5d y=%5d z=%5dā, w,x,y,z);
2
Q
printf
A
Method to display formatted output on console
3
Q
format
A
String that may consist of substrings and formate specifiers
4
Q
item
A
May be numeric value, character, boolean value, or a string
5
Q
The Math class
A
Java provides many useful methods in the Math class for performing common mathematical functions