

In class A, fraction of students getting first class = 20/25
= 4/5 (20 and 25 is divided by 5)
In class B, fraction of students getting first class = 24/30
= 4/5 (24 and 30 is divided by 6)
Since 4/5 = 4/5
So, both the class have equal number of fraction of students getting first class
