-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDebugTest.java
More file actions
30 lines (21 loc) · 610 Bytes
/
DebugTest.java
File metadata and controls
30 lines (21 loc) · 610 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
26
27
28
29
30
package study;
import java.util.HashMap;
/**
* @author shkstart
* @date 2018/7/13 0013 - 下午 6:28
*/
public class DebugTest {
public static void main(String[] args){
for (int i = 0; i < 100; i++) {
System.out.println(i); }
HashMap<String, String> map = new HashMap<>();
map.put("name","Tom");
map.put("age","12");
map.put("school","Tsinghua");
map.put("major","computer");
String age = map.get("age");
System.out.println("age = " + age);
map.remove("major");
System.out.println(map);
}
}