+ 2
Help me solve this prblm?
Help me in knowing what wrong did i did in this. https://code.sololearn.com/c3H2lSDVM5Tr/?ref=app
3 Answers
+ 5
You may forgot to write access specifier with functions on line 6 & 14 which should be public.
Also you don't need to write
public interface Runnable{
void run();
}
Remove these lines and it will work.
+ 2
Thank u
0
next experiment
if (i==5)
try { Thread.sleep(1000); }
catch(InterruptedException e) { }