-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOutputExercise.java
More file actions
26 lines (23 loc) · 677 Bytes
/
OutputExercise.java
File metadata and controls
26 lines (23 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package exercise_output;
import static java.lang.System.*;
import static yan_service.YANConstant.*;
import static yan_service.YANService.*;
public class OutputExercise {
public static void main(String[] args) {
// tit
out.println(BLUE_BOLD);
printlnAdv("Output Exersice");
// content
run();
}
// Main
private static void run() {
out.println();
out.print(YELLOW);
printlnAdv(" J A V V A ");
printlnAdv(" J A A V V A A ");
printlnAdv("J J AAAAA V V AAAAA ");
printlnAdv(" JJJ A A V A A");
out.println(RESET);
}
}