Phone Call Prices

This is a small application utilizing abstract classes that I created for my Java class. The user is asked to enter two phone numbers and how long the call was for three different calls. There is an abstract phone call class with incoming call and outgoing call classes extending from it. The program calculates the price for the calls and prints out all the information to the user.

Click to view code

phonecall