I passed the AP calc exam without a class. But that had a lot more to do with motivation and interest and a sense of entitlement than with aptitude. I wish everyone had my sense of entitlement, but they don't, and classes do seem to make a passable substitute.