标题:看看这道题怎么理解的?看着答案不知道为什么?
取消只看楼主
秦时的明月夜
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:13
帖 子:126
专家分:504
注 册:2013-3-12
结帖率:91.67%
已结贴  问题点数:20 回复次数:0 
看看这道题怎么理解的?看着答案不知道为什么?
Given:
1. public class Blip {
2. protected int blipvert(int x) { return 0; }
3. }
4. class Vert extends Blip {
5. // insert code here
6. }
Which five methods, inserted independently(任意地) at line 5, will compile?
(Choose five.)
A. public int blipvert(int x) { return 0; }
B. private int blipvert(int x) { return 0; }
C. private int blipvert(long x) { return 0; }
D. protected long blipvert(int x) { return 0; }
E. protected int blipvert(long x) { return 0; }
F. protected long blipvert(long x) { return 0; }
G. protected long blipvert(int x, int y) { return 0; }

Answer: ACEFG
搜索更多相关主题的帖子: private methods public return insert 
2013-10-23 15:38



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-422395-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.224602 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved