Java null值 1.对象字段为null值与整型运算操作,空指针异常。 2.null与字符串运算操作,正常。String str = null ;str +=“123”结果:“null123” 3.对象字段属性,可以get为null的字段。