Two cylindrical jars have their diameters in the ratio 3:1, the height 1:3. Then the ratio of their volumes is
(a) 1 : 4
(b) 1 : 3
(c) 3 : 1
(d) 2 : 5