Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Arrays;
- public class Main {
- public static void main(String[] args) {
- String[] colorWhite = new String[10];
- String[] colorRed = new String[10];
- String[] colorGreen = new String[10];
- Arrays.fill(colorWhite, "\033[39m\u2588");
- Arrays.fill(colorRed, "\033[32m\u2588");
- Arrays.fill(colorGreen, "\033[31m\u2588");
- Arrays.stream(colorWhite).forEach(System.out::print);
- System.out.println();
- Arrays.stream(colorRed).forEach(System.out::print);
- System.out.println();
- Arrays.stream(colorGreen).forEach(System.out::print);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement