Choosing a class compares the numbers.

Line HP per level MP per level Main stat
26 | 5 | STR
46 | 6 | STR
12 | 23 | INT
22 | 15 | DEX
22 | 15 | LUK
25 | 21 | DEX or STR

See Job Advancement.