Java语法糖——条件编译 Java语言进行条件编译的方法是:使用条件为常量的if语句。
public static void main(String[] args){System.out.println("block 1");}