Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please use the line numbers in the images below: Question 8 After the program re

ID: 3708817 • Letter: P

Question

please use the line numbers in the images below:

Question 8

After the program returns to line 6 in Circle2Test.java in the proceeding question, the program execution then proceeds to line 7. Line 7 is a method invocation to printCircle. Please enter the line number of the header of the method definition for this method in Circle2.java?

___________

Does this method have an explicit parameter? Please type yes or no in the blank below.

____________

Is radius on line 17 a local variable or an instance variable (an attribute of an object)? (Please type either local or instance in the blank below).

___________

1 public class Circle2Test 2public static void main (String[ args) I Circle2 first - new Circle2 (5) Circle2 second - new Circle2 (10) first.setRadius (20) second.setRadius (100) first.printCircle Circle2.printCircleInParameter (second); 10

Explanation / Answer

(a) 16

Line 16 defines the mehtod printCircle().

(b) No

There is no explicit parameter. The only parameter is a class attribute.

(c) instance

radius is a class variable that stores the radius of the circle.