Question: object Test3 (float x, float y, float radius) for this you will end up writting your own class called circle, make an instance of it,

object Test3 (float x, float y, float radius)

for this you will end up writting your own class called circle, make an instance of it, and return that instance. You will return an object that you make of type circle. in other words, if you were to make an object of type circle called c, you would return c from this test. you can put the circle class declaration either: in its own file called circle.cs or you can put it in the submission.cs file along side your submission class within the same namespace scope.

to create your circle class you will add the following access modifier, fields, constructor, and methods

your circle class must be declared as public. when you create your class called circle, you must make the class itself public. this means that you must put the keyword public directly before the word class

your circle must have 3 member variables (fields) of type float which represent

x position of the circle

y position of the circle and the radius of the circle

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!