Question: CHALLENGE ACTIVITY 7 . 1 1 . 2 : The this implicit parameter. Define the missing method. Use this to distinguish the local member from
CHALLENGE
ACTIVITY
: The this implicit parameter.
Define the missing method. Use "this" to distinguish the local member from the parameter name.
Learn how our autograder works
qxzay
Code from file CablePlan.java
public class CablePlan
private int numDays;
FIXME: Define setNumDays method, using "this" implicit parameter.
public void setNumDaysint numDays
Y Your solution goes here
public int getNumDays
return numDays;
end
Feedback?
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
