Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
7Activity
×

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
SCJP 5.0 %28310-055%29 224 Q%26A Dump

SCJP 5.0 %28310-055%29 224 Q%26A Dump

Views: 6,884|Likes:
Published by api-17231531

More info:

Published by: api-17231531 on Sep 29, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

11/15/2013

pdf

text

original

Sun Certified Programmer for the Java 2
Platform, Standard
Exam 310-055
Edition 5.0
\u00a92003- 2004 Test Killer, LTD All Rights Reserved
Con
g
ratulations!!
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

y
ou will be
p
re
p
ared to take the exams. We
g
uarantee it!
Remember, average study time is 15 to 20 hours and then you are ready!!!
GOOD LUCK!
DISCLAIMER
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
g
uarantee if
y
ou follow the above instructions.
Thismaterial is protected bycopyright lawand international treaties. Unauthorized
reproduction ordistribution ofthismaterial, orany portion thereof,mayresult in severe
civiland criminal penalties,andwill be prosecuted to themaximum 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
Answ er: 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()) System.out.println( x.next());
D. for( int i= 0; i< x.length; i+ + ) System.out.println(x[i]);
Answ er: BD
Question 3
Given:
11. public class Test {
12. public static void main(String [ ] args) {
13. int x =5;
14. boolean b1 = true;
15. boolean b2 = false;
16.
17.if((x= = 4) && !b2)
18. System.out.print(\u201dl \u201c);
19. System.out.print(\u201d2 \u201c);
20. if ((b2 = true) && b1)

Activity (7)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Alienz liked this
Maria Patrawala liked this
poomazumdar liked this
guruhit liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->