I'm not sure what you mean by running two programs off of one class... Do you mean having two different classes using the Entry class? In that case, yes. That's the beauty of object-oriented...
Type: Posts; User: helloworld922
I'm not sure what you mean by running two programs off of one class... Do you mean having two different classes using the Entry class? In that case, yes. That's the beauty of object-oriented...
All the code you have here is correct. However, I'm suspecting that you don't have the toString() method in the Entry class defined right.