It's not a secret anymore!*
The moose likes Mock Exam Errata and the fly likes John Hunt Q3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "John Hunt Q3" Watch "John Hunt Q3" New topic
Author

John Hunt Q3

Han Shu
Greenhorn

Joined: Sep 03, 2001
Posts: 9
Q. 3
Which methods can be legally applied to a string object?
A.equals(String)
B.equals(Object)
C.trim()
D.round()
E.toString()
Select all correct answers.
The answer is B,C,E. I wonder why B is right and A is not. Thank you for helping?
Han Shu
Greenhorn

Joined: Sep 03, 2001
Posts: 9
Sorry, I just made a mistake,the answer is A B C E, so that's no problem.
Percy Densmore
Ranch Hand

Joined: Mar 06, 2001
Posts: 214
No problem, glad you found it

------------------
Percy Densmore
-SCJP2 Die Hard Student
 
 
subject: John Hunt Q3