Given: Which code, inserted at line 15, allows the class Sprite to compile?()
- AFoo { public int bar() { return 1; }
- Bnew Foo { public int bar() { return 1; }
- Cnew Foo() { public int bar() { return 1; }
- Dnew class Foo { public int bar() { return 1; }
Given: Which code, inserted at line 15, allows the class Sprite to compile?()