I love these discussions, always a lot of ideas about licenses. Here is what the Feds say, local and state laws may vary.
Class A: Any combination over 26,000, provided the trailer does excede 10,000.
15,000 truck + 15,000 trailer= Class A
Class B: Any single or combination that excedes...