Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Help the idiot plox!

Name: poolboy 2006-11-16 20:41

Hey. I could use some help hear. i cant get my code to work. yes i know this is stupid as sin but its for a class. I have to place 3 names in order alphabeticly. how the names get in is unimportant, but what i need is the code to sort the names. you all would be tits ass kewl if you could tell me the right lines for this cuz i am tired of failling. lol.

Name: Anonymous 2006-11-18 11:14

>>14
No need to do it that hard. Java String object has a compareTo method.

From javadoc
the value 0 if the argument string is equal to this string; a value less than 0 if this string is lexicographically less than the string argument; and a value greater than 0 if this string is lexicographically greater than the string argument.
>>15
You're useless

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List