Question: Define the missing method. Use this to distinguish the local member from the parameter name. Learn how our autograder works 5 2 . 4 9
Define the missing method. Use "this" to distinguish the local member from the parameter name.
Learn how our autograder works
axiy
Code from file Cableplan. java
public class CablePlan
private int numbays;
I FIXME: Define setNumDays method, using "this" implicit parameter.
public void setNumDaysint numDays
Your solution goes here
public int getNumDays
return numDays;
end
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
