HELP WITH JAVA 101
Name:
Anonymous
2009-02-12 14:43
Can someone help me write a Java program that does this?
It simply changes the word "hate" to "love"
Enter a sentence containing the word "hate":
hate is such a strong word
Your revised sentence is:
love is such a strong word
Name:
Anonymous
2009-02-13 2:11
public static String loveToHate(String text) {
return text.replaceAll("love","hate");
}
Name:
Anonymous
2009-02-13 11:11
>>35
That code is
completely unreadable.
Please use proper
[code] tags from now on.
Name:
Anonymous
2009-02-13 13:25
>>34
if you make this code readable and less complicated i will blow you.
Name:
Anonymous
2009-02-13 13:48
>>42
I wish, it's
machine code.
Name:
Anonymous
2009-02-13 20:13
>>44
_\x81?loveu\xF8\xC7\x47hate\xEB\xF0
Name:
Anonymous
2009-02-13 20:16
>>45
lol, forgot my G.
But then the jump addresses will be wrong ;_;
Name:
Anonymous
2009-03-06 10:29
Is the way to make a useless and stupid endeavor Aside from random import choice randint def randsent x.
Name:
Anonymous
2010-11-13 16:07