forked from Somersames/JavaBasis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClickTest.java
More file actions
20 lines (17 loc) · 436 Bytes
/
ClickTest.java
File metadata and controls
20 lines (17 loc) · 436 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package Thread.monitor;
import org.omg.CORBA.INTERNAL;
import java.util.Scanner;
/**
* Created by szh on 2017/5/12.
*/
public class ClickTest {
public static void main(String args[]){
Scanner scanner =new Scanner(System.in);
Click click =new Click();
while (true){
String line =scanner.nextLine();
int id=Integer.parseInt(line);
click.notifies(id);
}
}
}