回複:求教: 關於java, 真是不太明白

來源: xunqi 2005-03-23 03:56:52 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (394 bytes)
public boolean equals(Name otherName){
boolean same=false;
otherName=new Name();
String otherlast=new String(otherName.getLastName());
String otherMiddle= ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
String otherSur=;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if( //compare last name this.getLast).getequalsIgnoreCase(otherlast); ''')
{same = true;}else{same=false;}return same;
}
請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”