Let radius of cylinder =
r. Diameter of cylinder =
2rHeight of cylinder =

.....[Given]
Volume of cylinder =

Volume of sphere with radius 4 cm =

According to the question,
Volume of cylinder = Volume of sphere
=>
Hence, radius of base of cylinder = 4cm