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);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

printf

A

Method to display formatted output on console

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

format

A

String that may consist of substrings and formate specifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

item

A

May be numeric value, character, boolean value, or a string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The Math class

A

Java provides many useful methods in the Math class for performing common mathematical functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly