aspose file tools*
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
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "JXAM" Watch "JXAM" New topic
Author

JXAM

Stephen Joseph
Ranch Hand

Joined: Dec 29, 2000
Posts: 50
Which of the following are methods within the String class.
1.subString();
2.startsWith();
3.toString();
4.toUppercase();
5.toindexOf();
They have given all correct,which cannot be,because they have no arguments except in case of 3 and 4.
Thanks!
Steven

Pat Barrett
Ranch Hand

Joined: Jan 03, 2001
Posts: 63
Hello,
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
Greenhorn

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: http://aspose.com/file-tools
 
subject: JXAM
 
Similar Threads
JavaCertificate.com operator question
Mean and STadard Deviation?!!
what do you call 3/4th in english
question required
summing each row in a 2-dimensional array