Cylinder which implements this interface and calculate area and volume | PHP - IProgramX

Q. Define an interface which has methods area( ), volume( ). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume. (Hint: Use define( )) 




Post a Comment

0 Comments