@socaldad2002 @skieurope make valid points; Dual enrollment and AP credits certainly won’t transfer to every school, and some elite schools only accept scores of 5 for credit and put limits in place even at that.
Most state schools allow almost unlimited dual enrollment and AP credit. Alabama gave my son credit for 68 hours, including credit for an Intermediate Accounting course that he had to retake (they just gave it a new name). Since he’s an accounting major he has to have 150 hours to take the CPA exam, and the extra credits will shave two years off the time he will be in school. He has an internship lined up for next summer that for most ends up with a job offer, so he will be out of school and into the job market a year or two earlier than he otherwise would have been without the high school credits. He is still having plenty of fun.