Question: Write a PHP class named Circle. The class will have an attribute named radius. The class will have the following two methods GetArea ) GetCircumference

Write a PHP class named Circle. The class will have an attribute named radius. The class will have the following two methods GetArea ) GetCircumference () The methods will calculate the area and the circumference of the circle namely and return the answers. The answer will have only 2 digits after decimal places Instantiate the class Circle and make the object my_circle. Assign the circle radius to 100. ds to display the are
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
