C/C++中: 支持byte,char,short,int,long,bool,整数类型和枚举类型。 不支持float,double,string Java中: boolean类型 String类型是java7开始支持