public static void main(String[] args) {
Thread.sleep(1000);
for (int i = 30; i >= 0; i--) {
System.out.println(i);
Thread.sleep(1000);
//write your code here
}
System.out.println("Boom!");
}
where correction is necessary
Resolved
Comments (8)
- Popular
- New
- Old
You must be signed in to leave a comment
Baljinder Singh
24 September 2018, 01:01useful
Add Exception to the method signaature
+2
gery
24 September 2018, 01:19
where to put correction for thread must repeat 31 times.
0
gery
24 September 2018, 01:24
0
gery
24 September 2018, 01:35
but requirement states that the count must be from 30 to 0. i just ran it and it throws this requirement didnt met
0
gery
24 September 2018, 01:35
0
Baljinder Singh
24 September 2018, 01:43solution
+2
gery
24 September 2018, 00:46
* here line 2 &5 shows error
0
gery
24 September 2018, 00:45
it shows error on line 12 & 15;
0