提交 b742b39c 编写于 作者: 幼稚园小盆友's avatar 幼稚园小盆友

生产代码片段

上级 00470cde
class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
Map<String, Integer> map = new HashMap<>();
// 添加键值对到map中
for (String key : map.keySet()) {
Integer value = map.get(key);
// 处理key和value
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册