Question: 5 Points Each (Circle the best answer) The following questions refer to the Java class below and the program main). public class Green private int

 5 Points Each (Circle the best answer) The following questions refer

5 Points Each (Circle the best answer) The following questions refer to the Java class below and the program main). public class Green private int a private int b; public Green(int aa, int bb) public void equals(Green c) public void fn(Green c) (this.a- c.a; this.b-c.b;) this.a- c.b-this.b; this.b- c.a - this.b; 3 public static void main(Stringl] args) ( Green x new Green (7,2); Green y new Green (7,5); Green z-new Green (7,8); int xx-1,yy-2,zz-3; x.fn(y): z.equals(y): 41. At the end of the main program, x.a- a) 3 b) 4 d) None above 42.At the end of the main program, x.b- a) 3 b) 4 d) None above 43.At the end of the main program, y.a- a) 3 c) 5 d) None above 44. At the end of the main program, z.b- a) 3 b) 4 d) None above

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!