- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRequest.java
More file actions
Latest commit
25 lines (19 loc) · 547 Bytes
/
Copy pathRequest.java
File metadata and controls
25 lines (19 loc) · 547 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
importjava.util.ArrayList;
publicclassRequestextendsThread {
privatebooleanreceivedStatus = false;
publicArrayList<Integer> listaprueba;
publicIntegernumero ;
publicRequest(Integernumero){
this.numero = numero;
}
publicvoidrun(){
for(inti=0;i<numero;i++){
System.out.println(i);
try {
Thread.sleep(500);
} catch (InterruptedExceptione) {
e.printStackTrace();
}
}
}
}