第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

大神,求教!急急急

大神,求教!急急急

csh_001 2016-01-03 22:36:10
//student ? import?java.sql.*; ? ? ? public?class?Student ? { ? ???????private?String?id; ? ???????private?String?name; ? ???????private?int?math; ? ???????private?int?english; ? ???????private?int?java; ? ???????private?int?computer; ? ? ? ???????public?String?getId() ? ???????{ ? ??????????????return?id; ? ???????} ? ? ? ???????public?void?setId(String?id) ? ???????{ ? ??????????????this.id?=?id; ? ???????} ? ? ? ???????public?String?getName() ? ???????{ ? ??????????????return?name; ? ???????} ? ? ? ???????public?void?setName(String?name) ? ???????{ ? ??????????????this.name?=?name; ? ???????} ? ? ? ???????public?int?getMath() ? ???????{ ? ??????????????return?math; ? ???????} ? ? ? ???????public?void?setMath(int?math) ? ???????{ ? ??????????????this.math?=?math; ? ???????} ? ? ? ???????public?int?getEnglish() ? ???????{ ? ??????????????return?english; ? ???????} ? ? ? ???????public?void?setEnglish(int?english) ? ???????{ ? ??????????????this.english?=?english; ? ???????} ? ? ? ???????public?int?getJava() ? ???????{ ? ??????????????return?java; ? ???????} ? ? ? ???????public?void?setJava(int?java) ? ???????{ ? ??????????????this.java?=?java; ? ???????} ? ? ? ???????public?int?getComputer() ? ???????{ ? ??????????????return?computer; ? ???????} ? ? ? ???????public?void?setComputer(int?computer) ? ???????{ ? ??????????????this.computer?=?computer; ? ???????}
查看完整描述

1 回答

?
ai睡的熊

TA貢獻27條經(jīng)驗 獲得超5個贊

你想知道什么

查看完整回答
反對 回復(fù) 2016-01-04
  • csh_001
    csh_001
    Keyboard那里有錯誤,你沒看出來嗎?我想讓它運行正確,最好能把數(shù)據(jù)庫那部分改成普通的句子,因為我們沒學(xué)數(shù)據(jù)庫,這是引用了網(wǎng)上的一部分內(nèi)容。
  • ai睡的熊
    ai睡的熊
    問題是我這里看到的只有實體類,只有屬性的封裝和set/get方法,這個類是無法運行的,需要main函數(shù)去調(diào)用,可能你的代碼還不全,你可以把全部的都發(fā)出來
  • 1 回答
  • 0 關(guān)注
  • 1513 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號