Walking in circles

  • 2
  • Locked
If we need a circle to calculate a circumference, then we need a radius, or for analytical geometry — a radius and center, and for displaying a circle on the screen — preferably a color as well. What we're getting at is that we need to create a Circle class and create three different constructors for it.
You can't complete this task, because you're not signed in.
Comments (3)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
AndreiJ Java Developer
7 July 2019, 18:01
Maybe making the color variable a String not an int would be more precise :)
Brad Reed
Level 19 , Hartford, United States
23 June 2020, 20:06
right?! I was just about to make. comment about that.
Laura
Level 7 , Lübeck, Deutschland
12 September 2020, 09:25
But can't u use codes as a color (like: hex codes in html)? Then, it would make sense to make it like that. However, first I also was a confused.