Theoretically, there's no limit to the number of classes a character can have. But the experience required to gain a new class increases each time, until eventually (around 10-12 classes or so) it takes 5000 EXP for each new class.