Teste killer scjp 5

7238 palavras 29 páginas
Sun Certified Programmer for the Java 2 Platform, Standard Exam 310-055
Edition 5.0

© 2003- 2004 Test Killer, LTD All Rights Reserved

You have purchased a Testkiller Ltd. Study Guide. This study guide is a complete collection of questions that have been directly taken from the real exams and answers that have been researched and verified by our professional expert team. Study and memorize the following questions and answers for approximately 15 to 20 hours and you will be prepared to take the exams. We guarantee it! Remember, average study time is 15 to 20 hours and then you are ready!!! GOOD LUCK!


This study guide and/or material is not sponsored by, endorsed by or affiliated with Microsoft, Cisco, Oracle, Citrix, CIW, CheckPoint, Novell, Sun/Solaris, CWNA, LPI, ISC, etc. All trademarks are properties of their respective owners.

Guarantee If you use this study guide correctly and still fail the exam, send a scanned copy of your official score notice at: support@troytec.com We will gladly refund the cost of this study guide. However, you will not need this guarantee if you follow the above instructions.

This material is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this material, or any portion thereof, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under law.

Question 1 Given: 11. public interface Status { 12. /* insert code here */ int MY_VALUE = 10; 13. } Which three are valid on line 12? (Choose three.) A. final B. static C. native D. public E. private F. abstract G. protected Answer: ABD Question 2 Given: 10. public class Bar { 11.static void foo(int...x) { 12. // insert code here 13. } 14. } Which two code fragments, inserted independently at line 12, will allow the class to compile? (Choose two.) A. foreach(x) System.out.println(z); B. for(int z : x) System.out.println(z); C. while( x.hasNext())


  • tecnologia da informação
    13335 palavras | 54 páginas