No. Hamilton is a city near the center of the Bermuda islands, while Kings Wharf is on Bermuda's West End. You can get from one to the other very easily by bus (#7, I believe) or ferry.
I took Celebrity last year to Bermuda for seven days. We docked at two ports while there, one of them being Hamilton. It was very convenient for shopping and a walking tour since you were docked right at the main street. However it was not convenient to the beach. We chose to take the public transportation to the beach and would not do it again. The bus was crowded and we had quite a walk once we got off the bus. The beaches in Bermuda are beautiful and very different from the Eastern Carribean islands I've been to. If I went again I would do a ship excursion.
Go with the Majesty next time. She is docked at the same wharf in St Georges during the whole stay. Easy to get to many beaches, and only 30 min away with bus to Hamilton.