jQuery in Action, 2nd edition*
The moose likes Mock Exam Errata and the fly likes JXAM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "JXAM" Watch "JXAM" New topic


Stephen Joseph
Ranch Hand

Joined: Dec 29, 2000
Posts: 50
Which of the following are methods within the String class.
They have given all correct,which cannot be,because they have no arguments except in case of 3 and 4.

Pat Barrett
Ranch Hand

Joined: Jan 03, 2001
Posts: 63
The SunJavadocs list methods 1 through 4 as being in the String class (although #1 should actually be substring() ). I'm not sure if # 5 is correct or not, although if Sun doesn't list it I'd think it would be wrong.
Pat B.

[This message has been edited by Pat Barrett (edited February 07, 2001).]
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
number 4 is wrong since it should be toUpperCase()1 and 5 are also wrong.

Val SCJP <BR>going for SCJD
Sai Ram9

Joined: Feb 13, 2001
Posts: 18
1,4 are wrong no idea about 5
1 should be substring()
4 should be toUpperCase()
Consider Paul's rocket mass heater.
subject: JXAM
Similar Threads
summing each row in a 2-dimensional array
Mean and STadard Deviation?!!
what do you call 3/4th in english
JavaCertificate.com operator question
question required