16=2×2×2×2,
Because there are fewer than 50 students in this class,
Therefore, the least common multiple of 12 and 16 is: 2× 2× 3× 2× 2 = 48;
There are 48 students in this class.