60% of a class are girls. The number of boys are 20. Hence, the strength of the class is 50.
20
The % of boys is 40 %. There are 20 boys. If the class strength was 100, the number of boys would be 40. Hence, if the number of boys was 20, class strength would be 50.