Coding Challenge: Modeling a Circle

Let's create a Circle object and implement some of its methods.

We'll cover the following

Problem statement

Create a Circle object with the following properties and methods:”

  • radius
  • circumference() - returns circumference of a circle
  • area() - returns area of a circle

Try to solve it on your own and if you get stuck anywhere, you can always refer to the solution.

Coding exercise

Get hands-on with 1200+ tech skills courses.