The ratio of boys to girls is 4:5, so we can write this as:
B/G = 4/5
The total number of students is 360, so:
B + G = 360
We can solve this system of equations. From the first equation, we can express B in terms of G:
B = (4/5)G
Substitute this into the second equation:
(4/5)G + G = 360
Combine the terms with G:
(4/5 + 1)G = 360
(9/5)G = 360
Multiply both sides by 5/9 to solve for G:
G = 360 * (5/9)
G = 40 * 5
G = 200
Now substitute the value of G back into the equation for B:
B = (4/5)G
B = (4/5) * 200
B = 4 * 40
B = 160
So there are 160 boys and 200 girls in the graduating class.
The total number of students is 160 + 200 = 360, which is consistent with the given information.
Final Answer: The final answer is $\boxed{160 boys and 200 girls}$