private String weather;
private String mood;
private Date date;
private String title;
private String content;
public String toString(){
return "["+date+"]"+weather+;//這樣寫一直報錯說weather類型不對,可是weather不就是string類型的嗎
}
多了個“+”號吧,最後面