問題詳情

102  5e4cb73cbe1db.jpg
Which code, inserted at line 15, allows the class Sprite to compile?
(A) Foo{public int bar(){return 1;}}
(B) new Foo{public int bar(){return 1;}}
(C) new Foo(){public int bar(){return 1;}}
(D) new class Foo{public int bar(){return 1;}}

參考答案

無參考答案

內容推薦

內容推薦