Use the equals method when comparing objects (Strings are objects).
Type: Posts; User: Junky
Use the equals method when comparing objects (Strings are objects).
Then I suggest you become 100% familiar with them. Read a textbook, Google for a tutorial, search for code examples. Put all the information together and try writing some test code. Then tackle your...
Have you heard of Strings?