Those methods should almost definitely not be void.
Type: Posts; User: KevinWorkman
Those methods should almost definitely not be void.
Yes, but you declared them inside the method, which means they're only available inside the method. Hint- You're returning a value from those methods, but you aren't doing anything with those values.
mccolem, please read this before posting again: http://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html
When declaring a variable, you have to give it a type. I can't just say:
x = 7;
I have to tell Java what the heck x is:
int x = 7;
Same with Strings, Objects, doubles, whatever.