Which two, inserted at line 11, will allow the code to compile?()
- A、public class MinMax<?>{
- B、public class MinMax<? extends Number>{
- C、public class MinMax<N extends Object>{
- D、public class MinMax<N extends Number>{
- E、public class MinMax<? extends Object>{
- F、public class MinMax<N extends Integer>{
正确答案:D,F
答案解析:有
微信扫一扫手机做题