could anyone help me i have been trying to do this for a good 2 hours now and still can't get it to work :( i have created this class diagram for the server side of my project and i can't get the inheritance right i need to be able to make a new patient and be able to set some of the fields in the classes in the diagram for example:
Patient patient1 = new Patient()
patient1.setName("John oldm");
patient1.setAddress("12 Station St");
patient1.setPhone("01484711111");
patient1.sethealth("poor");
patient1.setDateDiagnosed("30/03/1990");
patient1.setBrainProblem("Brain Cancer");
patient1.setBrainPartAffected("Left");
thanks in advance