Error corrected. I need to add:
str4 = null;
in order to "clear out" what was in it whenever it looped.
Type: Posts; User: csharp100
Error corrected. I need to add:
str4 = null;
in order to "clear out" what was in it whenever it looped.
I do not think of you being a "jerk." I guess what I am not understanding is if the code could have been written with fewer lines, I would have written the code with fewer lines. I assume you are...
Interesting, now that I see the output, it is the same. I guess the question is how do I fix this? Any ideas?
Test output on Eclipse at home:
Enter a word:
emsl
String not found
Enter a word:
umsl
Word found is: slum
Thanks for the correction.
Hi everyone,I have a small problem I am trying to figure out. I have coded the below program using Eclipse with Java 1.6. Our unix system at school uses java 1.5. The problem is with the last if...