我想在我的strMoMaturityTable更新一個細胞相匹配的日期數月爲什麼我的陣列的第一個元素不是更新?
System.out.println(strMoMaturityTable[0]);
if(strMoMaturityTable[0] == "May")
{
strMoMaturityTable[0] = "05";
}
System.out.println(strMoMaturityTable[0]);
這裏是我的輸出
我相信這是回答[這裏](http://stackoverflow.com/a/513839/767632) – yeputons
是的,它可能是一個可能的重複,但這裏的情況是正確地使用運營商和方法的問題。 – chlkdst