I am having an issue getting my program to run. It is a program to add an address to a text file. If the user does not know the zip code or city, they can enter the one they do know and it searches a 2d array for the corresponding value. I think I have things very close but I am not getting this error when I go to run the program.
java.lang.NoSuchMethodError: main
Exception in thread "main"
I am not good at understanding line code, so forgive me if my mistakes are elementary, I am trying my hardest and after 13 hours of working on this and another program I am ready to scream! The code is listed below.

Thank you in advanced, but also, I have run across quite a few many people in forums that are catty and rude and make this even more unbarable. I beg of you, please don't treat me like that.

I fixed it, thank you anyone who was going to reply. I have everything running now

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.