PhoneCardthat collects common features among them. One specific kind of card is represented by the class
SmartANZAsia10Card, a subclass of
PhoneCard. It only allows calls to Australia and New Zealand and to Asia. These classes use another class
CallZonethat represents the different zones to which calls can be made.
Your task is to implement the
Here are some resources for you to use:
Do not create a package for your class; it can go into the default package.
It is expected that your program compiles, meets the specifications given in the API, and follows the style guidelines for CSE1030. Javadoc comments are not required.
When you are finished, submit your code for the
SmartANZAsia10Card class as follows:
submit -l 1030 labtest2E SmartANZAsia10Card.java
You may submit your code more than once; the last version submitted is the one that will be graded.
Type your answers to the non-programming questions into a
answers.txt. Make sure that you number your answers
to match the questions.
When you are finished, submit your answers as follows:
submit -l 1030 labtest2E answers.txt