Question: Consider two classes, 1. A generic Person class with data fields, name and email. 2. A Customer class, with name, email and additional fields customer
Consider two classes, 1. A generic Person class with data fields, name and email. 2. A Customer class, with name, email and additional fields customer id and another boolean field, isVIP to indicate the customer is a VIP status. Consider the appropriate relationship between these classes. Write out UML for both classes and indicate the relationship between the two classes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
