String a = null; String b = ""; boolean equal = Objects.equals(a,b); // false ... Replace .equals() with Objects.equals() - java - Stack Overflow.
確定! 回上一頁