Question: Given UML, write a java code that represent the following classes as the following: 1- Class Contactinfo. 2- Class Person. 3- Class Patient. 4- Class

Given UML, write a java code that represent the following classes as the following: 1- Class Contactinfo. 2- Class Person. 3- Class Patient. 4- Class driver: contain the main method that do the following: A. create Patient object (patientObj), with email(SamJohnson@gmail.com), phone(056786849), and age of 20 years old.. B. Display the information for the Patient object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
