first commit
This commit is contained in:
7
printf.java
Normal file
7
printf.java
Normal file
@@ -0,0 +1,7 @@
|
||||
class Scratch {
|
||||
public static void main(String[] args) {
|
||||
// printf method is for formatting things?
|
||||
System.out.printf("Epic moment number %d",69); //%d represents decimal
|
||||
// it is % [flags] [precision] [width] [conversion character]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user