【转】java中NULL与" "的区别
摘要:区别 null是没有地址 ""是有地址但是里面的内容是空的 问题一 null和""的区别 String s=null; string.trim() 会抛出为空的exception String s=""; string.trim() 就不会抛,为什么? 答: NULL代表声明了一个空对象,根本就不是
阅读全文
posted @ 2018-09-30 21:48
Java/Python/Go,软件测试等等
posted @ 2018-09-30 21:48
posted @ 2018-09-30 18:07
posted @ 2018-09-29 12:13
posted @ 2018-09-19 18:01