Question: CHALLENGE ACTIVITY 7 . 9 . 2 : Constructor overloading. Write a second constructor as indicated. Sample output: User 1 : Minutes: 0 , Messages:
CHALLENGE
ACTIVITY
: Constructor overloading.
Write a second constructor as indicated. Sample output:
User: Minutes: Messages:
User: Minutes: Messages:
Learn how our autograder works
I Code from file PhonePlan. java
public class PhonePlan
private int freeMinutes;
private int freeMessages;
public PhonePlan
freeMinutes ;
freeMessages ;
FIXME: Create a second constructor with numMinutes and numMessages parameters.
V Your solution goes here
public void print
System.out.printlnMinutes: freeMinutes Messages: freeMessages;
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
