When we revolve a right angle triangle, we get a conical shape.
Please refer to video for the figure of cone.
So, here, height of cone, `h = 12cm`
Radius of cone, `r = 5cm`
Volume of cone, `V = 1/3pir^2h`
`V = 1/3**22/7**5**5**12=2200/7 = 314.21cm^3`
So, volume of obtained solid will be `314.21cm^3`.