摘要: 主函数: 实体类: class A{ int a; int b=1; String des ="wuhan"; String dep ="xiantao"; public String getDes() { return des; } public void setDes(String des) { 阅读全文
posted @ 2017-07-27 18:05 kincolle 阅读(1367) 评论(0) 推荐(0) 编辑
摘要: 类型 默认值 byte 0 short 0 int 0 long 0L float 0.0f double 0.0d char '\u0000' boolean false 阅读全文
posted @ 2017-07-27 17:14 kincolle 阅读(899) 评论(0) 推荐(0) 编辑
摘要: 主函数: import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.serializer.ValueFilter;import com.google.common.base.Preconditions; import java.lang 阅读全文
posted @ 2017-07-27 16:06 kincolle 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 运行结果为1 总结:interface里的属性,默认均是public static final。 阅读全文
posted @ 2017-07-27 09:58 kincolle 阅读(370) 评论(0) 推荐(0) 编辑