關於兩個字符串輸出同樣,用equals倒是false的緣由

寫了個登陸頁面判斷帳號密碼的時候出現了以下的一個問題,相信有不少初學者也能碰到,就貼出來一塊兒分享分享了 System.out.println(customers.getStr(「password」)); System.out.println(getPara(「ppassword」)); // System.out.println(getPara(「ppassword」).equals(custo
相關文章
相關標籤/搜索