Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am doing the following question, I already did part A. which is public class digicelMain { public static void main ( String[]args )throwsException {}}

I am doing the following question, I already did part A.

which is publicclassdigicelMain{publicstaticvoidmain(String[]args)throwsException{}}

publicclasscustomer{privateStringname;privateStringtelephone;customer(){this.name="";this.telephone="";}customer(Stringname,Stringtelephone){this.name=name;this.telephone=telephone;}voidputCustomer(Stringname,Stringtelephone){this.name=name;this.telephone=telephone;}}

I need help with point B

image text in transcribed
B. You are required to create two sub classes called prePaid and postPaid, override the super class member function to accept customer name and telephone number along with monthly post-paid charges for post-paid customers and monthly prepaid purchases for prepaid customers. f

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

using some lines

Answered: 1 week ago