(String[] args)
| 55 | } |
| 56 | |
| 57 | public static void main(String[] args) { |
| 58 | int N = 10; |
| 59 | Color[][] screen = new Color[N][N]; |
| 60 | for (int i = 0; i < N; i++) { |
| 61 | for (int j = 0; j < N; j++) { |
| 62 | screen[i][j] = Color.Black; |
| 63 | } |
| 64 | } |
| 65 | for (int i = 0; i < 100; i++) { |
| 66 | screen[randomInt(N)][randomInt(N)] = Color.Green; |
| 67 | } |
| 68 | PrintScreen(screen); |
| 69 | PaintFill(screen, 2, 2, Color.White); |
| 70 | System.out.println(); |
| 71 | PrintScreen(screen); |
| 72 | } |
| 73 | |
| 74 | } |
nothing calls this directly
no test coverage detected