Leaving out code that can have an impact on how the program executes doesn't make it easier to understand a problem. Seeing all of the code so there are no doubts about what else could be happening...
Type: Posts; User: Norm
Leaving out code that can have an impact on how the program executes doesn't make it easier to understand a problem. Seeing all of the code so there are no doubts about what else could be happening...
That's fine if you don't want anyone to help by compiling and testing the code.
Where is the main() method for testing? I don't see where the code is that can be compiled for testing.
Can you provide one for testing?
where is the main() method for testing the code?
If you are only having problems with the replaceAll() method, write a short simple program that uses that method many different ways to see how...