For starters it is not returning anything. Non-void methods return some value. All you are trying to do is display something but all that it does at the moment is print "TRUE". So you need to change...
Type: Posts; User: Junky
For starters it is not returning anything. Non-void methods return some value. All you are trying to do is display something but all that it does at the moment is print "TRUE". So you need to change...
If you had read my entire post instead of having a hissy fit you would have noticed that it did include valuable advice.
No you didn't say it but it is implied. You post a backstory and some code but nowhere do you ask a question. So what are we supposed to do? The only thing that we can do is look at the code...
1. Java is an Object Oriented language. Use it's full potential.
1a. Don't cram all your code into the main method.
2. Your post is "Here's the code. It doesn't work. Fix it for me". That is not...