
報錯為:The method of(String) is undefined for the type List
uj5u.com熱心網友回復:
提示相當清楚,The method of(String) is undefined for the type List,如果你懶得翻譯我就簡單說下,of(String)方法沒有在List類中定義如果書上有這么寫代碼,我建議你去退掉這本書,如果不是抄書,那你為什么會覺得List一個介面里會有of方法?
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/276029.html
標籤:Eclipse
