posted 10 years ago
hello i am writing a person tester application with the following functionality
1. user is prompted to enter name, email address and depending on the selection (customer or employee) social sec number or customer number.
2. the data is printed to the console
the application needs to have an abstract person class with an abstract getdisplayText() method and the person class needs to be extended by a customer class and an employee class which will either append a cusotmer number (if customer) or a social security number (if employee).
additionally the application needs to have a static print method that prints said data to the console.
i have build most of the application but am having trouble printing the data to the console, and not sure what im doing wrong please help! i have hit a wall.
this is my code