免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1206 | 回复: 1
打印 上一主题 下一主题

Test-passport提供SUN SCJP 310-055题库 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-30 10:36 |只看该作者 |倒序浏览
<br />Test-passport<br /><br /><br />310-055 <br /><br /><br />题库<br />今天为大家送上的是310-055的题库,是test-passport.cn题库网的。希望看到的朋友多宣传宣传,可以让更多的朋友受益。不多说了,直接上题:<br />考试号:310-055<br /><p align="left"><p align="left">版本:V3.66</p></p><p align="left"><p align="left">考题数目:240 Q&amp;As</p></p><p align="left"><p align="left">更新:2010-07-13</p></p><p align="left"><p align="left">1.Which Man class properly represents the relationship &quot;Man has a best friend who is a Dog&quot;?</p></p><p align="left"><p align="left">A.class Man extends Dog { }</p></p><p align="left"><p align="left">B.class Man implements Dog { }</p></p><p align="left"><p align="left">C.class Man { private BestFriend dog; }</p></p><p align="left"><p align="left">D.class Man { private Dog bestFriend; }</p></p><p align="left"><p align="left">E.class Man { private Dog; }</p></p><p align="left"><p align="left">F.class Man { private BestFriend; }</p></p><p align="left"><p align="left">Answer<img src="http://bbs.chinaitlab.com/images/smilies/default/biggrin.gif" smilieid="3" border="0" alt="" /></p></p><p align="left"><p align="left">2.Given: 1. package test; 2. 3. class Target { 4. public String name = &quot;hello&quot;; 5. } What can directly access</p></p><p align="left"><p align="left">and change the value of the variable name?</p></p><p align="left"><p align="left">A.any class</p></p><p align="left"><p align="left">B.only the Target class</p></p><p align="left"><p align="left">C.any class in the test package</p></p><p align="left"><p align="left">D.any class that extends Target</p></p><p align="left"><p align="left">Answer:C</p></p><p align="left"><p align="left">3.Click the Task button.</p></p><p align="left"><p align="left">Answer:</p></p><p align="left"><p align="left">Green choice1----&gt;Yellow Choice1</p></p><p align="left"><p align="left">Green choice2----&gt;Yellow Choice2</p></p><p align="left"><p align="left">Green choice3----&gt;Yellow Choice3</p></p><p align="left"><p align="left">Green choice2----&gt;Yellow Choice5</p></p><p align="left"><p align="left">Green choice5----&gt;Yellow Choice6</p></p><p align="left"><p align="left">Green choice1----&gt;Yellow Choice4</p></p><p align="left"><p align="left">4.Given: 1. class ClassA { 2. public int numberOfInstances; 3. protected ClassA(int numberOfInstances)</p></p><p align="left"><p align="left">{ 4. this.numberOfInstances = numberOfInstances; 5. } 6. } 7. public class ExtendedA extends ClassA { 8.</p></p><p align="left"><p align="left">private ExtendedA(int numberOfInstances) { 9. super(numberOfInstances); 10. } 11. public static void</p></p><p align="left"><p align="left">main(String[] args) { 12. ExtendedA ext = new ExtendedA(420); 13.</p></p><p align="left"><p align="left">System.out.print(ext.numberOfInstances); 14. } 15. } Which statement is true?</p></p><p align="left"><p align="left">A.420 is the output.</p></p><p align="left"><p align="left">B.An exception is thrown at runtime.</p></p><p align="left"><p align="left">C.All constructors must be declared public.</p></p><p align="left"><p align="left">D.Constructors CANNOT use the private modifier.</p></p><p align="left"><p align="left">E.Constructors CANNOT use the protected modifier.</p></p><p align="left"><p align="left">Answer:A</p></p><p align="left"><p align="left">5.Given: 10. interface Jumper { public void jump(); } ... 20. class Animal {} ... 30. class Dog extends Animal</p></p><p align="left"><p align="left">{ 31. Tail tail; 32. } ... 40. class Beagle extends Dog implements Jumper{ 41. public void jump() {} 42. } ...</p></p><p align="left"><p align="left">50. class Cat implements Jumper{ 51. public void jump() {} 52. } Which three are true? (Choose three.)</p></p><p align="left"><p align="left">A.Cat is-a Animal</p></p><p align="left"><p align="left">B.Cat is-a Jumper</p></p><p align="left"><p align="left">C.Dog is-a Animal</p></p><p align="left"><p align="left">D.Dog is-a Jumper</p></p><p align="left"><p align="left">E.Cat has-a Animal</p></p><p align="left"><p align="left">F.Beagle has-a Tail</p></p><p align="left"><p align="left">G.Beagle has-a Jumper</p></p><p align="left"><p align="left">Answer:B C F</p></p><p align="left"><p align="left">需要完整版题库的请到test-passport,cn去,那会有你需要的题库的。</p></p>

论坛徽章:
0
2 [报告]
发表于 2010-08-23 10:36 |只看该作者
大家顶啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP