2012 Hyundai Accent no start

Hyundai Accent

My car stopped starting last week. The battery is less than 4 months old. I can jump the car and it will run indefinitely with no power problems. Whenever I turn off the engine it will not start back up. It makes a clicking noise as long as I keep the key turned. I took the car to Autozone and they checked the battery, starter and alternator. They said the alternator was bad. I replaced the alternator, but the car still will not start without a jump. Took the car back to Autozone and they again said it was the alternator. I checked the wiring(except at the starter because it is hard to get to), replaced the terminals on the wiring to the battery. Checked the ground wire. Nothing I have done seems to solve the problem. It just clicks when I try and start it.

Replace the BATTERY!  It doesn’t matter how old it is, if its bad, its bad. The clicking noise is the tip off.