test.java
1 |
|
2 |
public static void main(String[] args) { |
3 |
anotherTest bup = new anotherTest(); |
4 |
for (int i = 0; i < 10; i++) { |
5 |
try { |
6 |
Thread.sleep(1000); |
7 |
} catch (InterruptedException e){ |
8 |
e.printStackTrace(); |
9 |
} |
10 |
} |
11 |
} |
12 |
|
13 |
public static void printingSomething() { |
14 |
System.out.println("OMG"); |
15 |
} |
16 |
} |
17 |