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
7.11.2: The this implicit parameter.
Define the missing method. Use "this" to distinguish the local member from the parameter name.
Learn how our autograder works
528040.3489528.93zqy7
//===== Code from file CablePlan.java =====
public class Cableplan {
private int numDays;
// FIXME: Define setNumDays() method, using "this" implicit parameter.
public void setNumDays(int numDays){
I* Your solution goes here */
}
public int getNumDays(){
return numDays;
}
}
???===== end =====
 CHALLENGE ACTIVITY 7.11.2: The this implicit parameter. Define the missing method.

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!