Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
e Pad Scjp Dump

e Pad Scjp Dump



|Views: 6,340|Likes:
Published by api-3724717
dump ques
dump ques

More info:

Published by: api-3724717 on Oct 15, 2008
Copyright:Attribution Non-commercial


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





Sun 310-055
Sun Certified Programmer for the Java 2 Platform.SE 5.0
362 Q&A
Version 2.29
PDF Creator - PDF4Free v2.0
- 2 -
I mportant Note, Please Read Carefully
Other TestNows products
A) Offline Testing engine
Use the offline Testing engine product topractice the questions in an exam environment.
Build a foundation of knowledge which will be useful also after passing the exam.
Latest Version

We are constantly reviewing our products. New material is added and old material is revised. Free updates are available for 90 days after the purchase. You should check your member zone at TestNows and update 3-4 days before the scheduled exam date.

Here is the procedure to get the latest version:
1.Go towww.TestNows.com

2.Click onLog in
3.The latest versions of all purchased products are downloadable from here. Just click the links.
For most updates,it is enough just to print the new questions at the end of the new version, not the whole


If you spot a possible improvement then please let us know. We always interested in improving product quality.
Feedback should be send to feedback@TestNows.com. You should include the following: Exam number,
version, page number, question number, and your login Email.

Our experts will answer your mail promptly.
Each iPAD file is a green exe file. if we find out that a particular iPAD Viewer file is being distributed by you,
TestNows reserves the right to take legal action against you according to the International Copyright Laws.
This product does not include explanations at the moment. If you are interested in providing explanations for this
exam, please contact feedback@TestNows.com.
PDF Creator - PDF4Free v2.0
- 3 -
www.TestNows.com Q: 1 Given:
11. public class Person {
12. privateStringname, comment;
13. privateint age;
14. publicPerson(Stringn,int a,Stringc){
15. name = n; age = a; comment = c;
16 . }
17. publicbooleanequals(Object o){
18. if (! (o instanceof Person)) return false;
19, Person p = (Person)o;
20. returnage==p.age&&name.equals(p.name);
21 . }
What is the appropriate definition of the hashCode method in class Person?
A. returnsuper.hashCode();

B. return name.hashCode() + age * 7;
C. return name.hashCode() + comment.hashCode() / 2;
D. return name.hashCode() + comment.hashCode() / 2 - age * 3;

Answer: B
www.TestNows.com Q: 2 Given:
34. HashM ap props= new HashM ap();
35. props.put("key45", "some value");

36. props.put(" key12" , " some other value"); 37. props.put(" key39" , " yet another value"); 38. Set s = props.keySet();

39. // insert code here
What, inserted at line 39, will sort the keys in the props HashM ap?
A. Arrays.sort(s);
B. s = new TreeSet(s);
C. Collections.sort(s);
D. s = new SortedSet(s);
PDF Creator - PDF4Free v2.0

Activity (116)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Avinash Arun liked this
padhi1982 liked this
trojanhorse21 liked this
anand_a liked this
kkumar_qc liked this
Arjun Gowda liked this
sac liked this

You're Reading a Free Preview

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