package com.fh.idea;
import java.util.HashMap;
import java.util.Map;
/**
* 测试IDEA的快捷键
*
*
* 模板代码的测试
* 查看模板代码快捷键 Ctrl+j
*
*
* psvm main 方法
* sout System.out.println()
* souf System.out.printf()
* fori 创建一个正循环
* ifn 创建一个if(something == null)的代码块
* fixme 在光标处增加fix标记
* todo 在光标处增加todo标记
* @author
* @create 2018-05-05 下午8:09
**/
public class Test {
private static final String KEY_HELLO = "hello";
public void test(){
// FIXME: 18-5-5
// TODO: 18-5-5
Map aa=new HashMap<String,String>();
}
/**
* psvm
* @param args
*/
public static void main(String[] args) {
//sout
System.out.println("hello");
//souf
System.out.printf("hello");
//fori
for (int i = 0; i <10 ; i++) {
System.out.println("hello");
}
//foreach
for (String a:args
) {
System.out.println("hello");
}
//ifn
String aa=null;
if (aa == null) {
System.out.println("hello");
}
}
}