组内code review时,有同学提到字符串判断空值的写法,如下两种,. (1)null在后,. @Test public void testDemo1() { String str = null;
確定! 回上一頁