public class DateSample {
int now;
public int getNow() {
return now;
}
public DateSample(int now) {
this.now = now;
}
}
これで初期化し、初期化したところにデータを入れたことになりますか?
回答2件
あなたの回答
tips
プレビュー
投稿2018/06/14 16:08
public class DateSample {
int now;
public int getNow() {
return now;
}
public DateSample(int now) {
this.now = now;
}
}
これで初期化し、初期化したところにデータを入れたことになりますか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。