An earlier shore guide identifies NJ Transit buses as the link to Cape May. It describes a direct trip from New York and connecting service from Philadelphia. Set aside time for any transfer, and check the stop and last return before deciding whether you can make this a day trip. The Delaware Bay ferry is a separate onward leg with its own terminal and schedule.
Atlantic City Boardwalk
Give the Boardwalk time on foot, with the ocean on one side and a different stretch of Atlantic City on the other.