導航:首頁 > 源碼編譯 > 網頁版通訊錄源碼html

網頁版通訊錄源碼html

發布時間:2024-01-24 22:56:45

⑴ C++通訊錄的源代碼

分是萬能的嗎?
請客氣些。

java小型通訊錄源代碼

package src;

public class TelBook {
// 姓名
String name;

// 家庭電話
Integer homePhone;

// 個人行動電話
Integer personalMobilePhone;

// 辦公電話
Integer officePhone;

// 家庭地址
String homeAddress;

// 辦公地址
String officeAddress;

// QQ號碼
Integer qqNumber;

// MSN號碼
String msn;

// 郵件
String email;

// 備注
String notes;

String getEmail() {
return email;
}

void setEmail(String email) {
this.email = email;
}

String getHomeAddress() {
return homeAddress;
}

void setHomeAddress(String homeAddress) {
this.homeAddress = homeAddress;
}

Integer getHomePhone() {
return homePhone;
}

void setHomePhone(Integer homePhone) {
this.homePhone = homePhone;
}

String getMsn() {
return msn;
}

void setMsn(String msn) {
this.msn = msn;
}

String getName() {
return name;
}

void setName(String name) {
this.name = name;
}

String getNotes() {
return notes;
}

void setNotes(String notes) {
this.notes = notes;
}

String getOfficeAddress() {
return officeAddress;
}

void setOfficeAddress(String officeAddress) {
this.officeAddress = officeAddress;
}

Integer getOfficePhone() {
return officePhone;
}

void setOfficePhone(Integer officePhone) {
this.officePhone = officePhone;
}

Integer getPersonalMobilePhone() {
return personalMobilePhone;
}

void setPersonalMobilePhone(Integer personalMobilePhone) {
this.personalMobilePhone = personalMobilePhone;
}

Integer getQqNumber() {
return qqNumber;
}

void setQqNumber(Integer qqNumber) {
this.qqNumber = qqNumber;
}

public TelBook() {

}

public TelBook(String name, Integer personalMobilePhone) {
this.setName(name);
this.setPersonalMobilePhone(personalMobilePhone);

}

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
TelBook myfriend = new TelBook("張三", new Integer("13800138000"));

}

}

閱讀全文

與網頁版通訊錄源碼html相關的資料

熱點內容
程序員生活費200 瀏覽:337
方舟編譯器與小米 瀏覽:184
佳明app訓練怎麼用 瀏覽:987
如何查看data有沒有加密 瀏覽:502
新福克斯壓縮比發動機 瀏覽:998
斐波那契回調演算法公式 瀏覽:503
android簡訊自動轉發 瀏覽:877
linuxroot安裝軟體 瀏覽:779
js壓縮html代碼 瀏覽:17
伺服器內存怎麼分區 瀏覽:8
php獲取第一張圖片 瀏覽:348
絕大多數伺服器運行什麼系統 瀏覽:812
android多線程demo 瀏覽:674
程序員那麼可愛誰是獅子座 瀏覽:455
土體壓縮系數 瀏覽:406
程序員愛看片嗎 瀏覽:336
電腦c盤有灰色文件夾 瀏覽:126
斐波那契數列php 瀏覽:668
如何獲取嗶哩嗶哩app郵箱注冊 瀏覽:532
怎麼啟動arduino編譯環境 瀏覽:842