より良い品質: http://img20.imageshack.us/img20/7802/th3w.png
私が間違っているのは何ですか?Record は List と同様のクラスです。目標: に保存しRecords
たいStorage
。書き直すべきStorage
ですか?また添付Record class
:
public class Record {
private int number;
private int count;
private Object code;
public Record(int number, int count, Object code)
{
this.number = number;
this.count = count;
this.code = code;
}
エラー: 変数 "storage" が初期化されていない可能性があります
その瞬間のデータがない場合、この変数を初期化できません。