Question: On which line ( s ) is the setter function? ` ` ` 1 2 public class XYZ { 3 4 private int a; *
On which lines is the setter function?
public class XYZ
private int a;
private double b;
ominus public XYZ
a ;
b ;
public XYZint n double n
a n;
b n;
public int getAreturn a;
public void setBdouble bthisb b;
Select one
A
B and
c
Dcdot
E
F
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
