This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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()
I agree. Here's the link:
subject: JXAM
It's not a secret anymore!